Package org.assertj.core.api.iterable
Interface Extractor<F,T>
-
- Type Parameters:
F
- type of element from which the conversion happensT
- target element type
- 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.
@Deprecated @FunctionalInterface public interface Extractor<F,T> extends Function<F,T>
Deprecated.useFunction
insteadFunction converting an element to another element. Used inAbstractIterableAssert.extracting(Function)
,AbstractObjectArrayAssert.extracting(Function)
andAtomicReferenceArrayAssert.extracting(Function)
.- Author:
- Mateusz Haligowski
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description default T
apply(F f)
Deprecated.T
extract(F input)
Deprecated.
-