Interface ThrowingExtractor<F, T, EXCEPTION extends Exception>
- Type Parameters:
F- type of element from which the conversion happensT- target element typeEXCEPTION- type of exception which might be thrown during conversion
- All Superinterfaces:
Function<F,T>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public interface ThrowingExtractor<F, T, EXCEPTION extends Exception>
extends Function<F,T>
Function converting an element to another element. Used in
AbstractIterableAssert.extracting(ThrowingExtractor),
AbstractObjectArrayAssert.extracting(ThrowingExtractor) and
AtomicReferenceArrayAssert.extracting(ThrowingExtractor).-
Method Summary
-
Method Details
-
apply
-
extractThrows
-