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 Known Subinterfaces:
ThrowingExtractor<F,T,EXCEPTION>
- All Known Implementing Classes:
ByNameMultipleExtractor,ToStringExtractor
- 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 Extractor<F,T>
Function converting an element to another element. Used inAbstractIterableAssert.extracting(Extractor),AbstractObjectArrayAssert.extracting(Extractor)andAtomicReferenceArrayAssert.extracting(Extractor).- Author:
- Mateusz Haligowski
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Textract(F input)
-