Uses of Class org.easymock.Capture (EasyMock 5.5.0 API)
Date: 2024-11-17

## Uses of Class
org.easymock.Capture

- Packages that use Capture
  Package | Description
  --- | ---
  org.easymock |
  org.easymock.internal.matchers |

- - ### Uses of Capture in org.easymock

    Methods in org.easymock that return Capture
    Modifier and Type | Method and Description
    --- | ---
    `static <T> Capture<T>` | EasyMock.`newCapture()` Create a new capture instance that will keep only the last captured value.
    `static <T> Capture<T>` | EasyMock.`newCapture(CaptureType type)` Create a new capture instance with a specific `CaptureType`
    `static <T> Capture<T>` | EasyMock.`newCapture(CaptureType type, UnaryOperator<T> transform)` Create a new capture instance with a specific `CaptureType` and a specific transformation function to change the values into a different value.
    `static <T> Capture<T>` | EasyMock.`newCapture(UnaryOperator<T> transform)` Create a new capture instance with a specific and a specific transformation function to change the values into a different value.
    `static <T> Capture<T>` | Capture.`newInstance()` Create a new capture instance that will keep only the last captured value.
    `static <T> Capture<T>` | Capture.`newInstance(CaptureType type)` Create a new capture instance with a specific `CaptureType`.
    `static <T> Capture<T>` | Capture.`newInstance(CaptureType type, UnaryOperator<T> transform)` Create a new capture instance with a specific `CaptureType` and a specific transformation function to change the values into a different value.
    `static <T> Capture<T>` | Capture.`newInstance(UnaryOperator<T> transform)` Create a new capture instance with a specific transformation function to change the values into a different value.

    Methods in org.easymock with parameters of type Capture
    Modifier and Type | Method and Description
    --- | ---
    `static <T> T` | EasyMock.`capture(Capture<T> captured)` Expect any object but captures it for later use.
    `static boolean` | EasyMock.`captureBoolean(Capture<Boolean> captured)` Expect any boolean but captures it for later use.
    `static byte` | EasyMock.`captureByte(Capture<Byte> captured)` Expect any byte but captures it for later use.
    `static char` | EasyMock.`captureChar(Capture<Character> captured)` Expect any char but captures it for later use.
    `static double` | EasyMock.`captureDouble(Capture<Double> captured)` Expect any double but captures it for later use.
    `static float` | EasyMock.`captureFloat(Capture<Float> captured)` Expect any float but captures it for later use.
    `static int` | EasyMock.`captureInt(Capture<Integer> captured)` Expect any int but captures it for later use.
    `static long` | EasyMock.`captureLong(Capture<Long> captured)` Expect any long but captures it for later use.

  - ### Uses of Capture in org.easymock.internal.matchers

    Constructors in org.easymock.internal.matchers with parameters of type Capture
    Constructor and Description
    `Captures(Capture<T> captured)`

Copyright © 2001–2024 EasyMock contributors. All rights reserved.