Uses of Interface
org.assertj.core.api.iterable.Extractor
Packages that use Extractor
Package
Description
-
Uses of Extractor in org.assertj.core.api
Methods in org.assertj.core.api with parameters of type ExtractorModifier and TypeMethodDescriptionprivate <V> AbstractListAssert
<?, List<? extends V>, V, ObjectAssert<V>> AbstractIterableAssert.doFlatExtracting
(Extractor<? super ELEMENT, ? extends Collection<V>> extractor) private <U,
C extends Collection<U>>
ObjectArrayAssert<U> AbstractObjectArrayAssert.doFlatExtracting
(Extractor<? super ELEMENT, C> extractor) private <U,
C extends Collection<U>>
ObjectArrayAssert<U> AtomicReferenceArrayAssert.doFlatExtracting
(Extractor<? super T, C> extractor) <V> AbstractListAssert
<?, List<? extends V>, V, ObjectAssert<V>> AbstractIterableAssert.extracting
(Extractor<? super ELEMENT, V> extractor) Extract the values from Iterable's elements under test by applying an extracting function on them.<U> ObjectArrayAssert
<U> AbstractObjectArrayAssert.extracting
(Extractor<? super ELEMENT, U> extractor) Extract the values from the array's elements by applying an extracting function on them.<U> ObjectArrayAssert
<U> AtomicReferenceArrayAssert.extracting
(Extractor<? super T, U> extractor) Extract the values from the array's elements by applying an extracting function on them.final ListAssert
<Object> AbstractIterableAssert.flatExtracting
(Extractor<? super ELEMENT, ?>... extractors) Extract multiple values from eachIterable
's element according to the givenExtractor
s and concatenate/flatten the extracted values in a list that is used as the new object under test.<V> AbstractListAssert
<?, List<? extends V>, V, ObjectAssert<V>> AbstractIterableAssert.flatExtracting
(Extractor<? super ELEMENT, ? extends Collection<V>> extractor) Extract the Iterable values from Iterable's elements under test by applying an Iterable extracting function on them and concatenating the result lists.<U,
C extends Collection<U>>
ObjectArrayAssert<U> AbstractObjectArrayAssert.flatExtracting
(Extractor<? super ELEMENT, C> extractor) Extract the Iterable values from arrays elements under test by applying an Iterable extracting function on them and concatenating the result lists into an array which becomes the new object under test.<U,
C extends Collection<U>>
ObjectArrayAssert<U> AtomicReferenceArrayAssert.flatExtracting
(Extractor<? super T, C> extractor) Extract the Iterable values from the array's elements by applying an Iterable extracting function on them and concatenating the result lists into an array which becomes the new object under test. -
Uses of Extractor in org.assertj.core.api.iterable
Subinterfaces of Extractor in org.assertj.core.api.iterableModifier and TypeInterfaceDescriptioninterface
ThrowingExtractor<F,
T, EXCEPTION extends Exception> Function converting an element to another element. -
Uses of Extractor in org.assertj.core.extractor
Classes in org.assertj.core.extractor that implement ExtractorModifier and TypeClassDescriptionclass
(package private) class
(package private) class
Extractor for extracting data by a method name.class
ExtractsObject.toString()
from any objectMethods in org.assertj.core.extractor that return ExtractorModifier and TypeMethodDescriptionProvides extractor for extracting single field or property from any object using reflectionProvides extractor for extracting multiple fields or properties from any object using reflectionProvides extractor for extracting values by method name from any object using reflectionExtractors.toStringMethod()
Provides extractor for extractingObject.toString()
from any objectMethods in org.assertj.core.extractor that return types with arguments of type ExtractorMethod parameters in org.assertj.core.extractor with type arguments of type Extractor -
Uses of Extractor in org.assertj.core.groups
Methods in org.assertj.core.groups with parameters of type ExtractorModifier and TypeMethodDescriptionstatic <F,
T> T[] CallFieldsOrPropertiesExtractor.extract(Iterable, Extractor)
after converting objects to an iterable.static <F,
T> List <T> FieldsOrPropertiesExtractor.extract
(Iterable<? extends F> objects, Extractor<? super F, T> extractor) Behavior is described inAbstractIterableAssert.extracting(Extractor)