You just have to give the field/property name or a Function implementation, a collection/array of objects
and it will extract the list of field/values from the given objects.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static void | |
| public static < type of elements to extract a value from F, the extracted value type T> T[] | Returns: the extracted valuesthe elements to extract a value from objects, Function<? super F, T> the extractor function extractor)Call |
| public static < type of elements to extract a value from F, the extracted value type T> List | Returns: the extracted valuesthe elements to extract a value from objects, Function<? super F, T> the extractor function extractor)Behavior is described in |
| FieldsOrPropertiesExtractor | back to summary |
|---|---|
| public FieldsOrPropertiesExtractor() | |
| checkObjectToExtractFromIsNotNull | back to summary |
|---|---|
| private static void checkObjectToExtractFromIsNotNull(Object object) | |
| extract | back to summary |
|---|---|
| public static <F, T> T[] extract(F[] objects, Function<? super F, T> extractor) Call
Behavior is described in javadoc
| |
| extract | back to summary |
|---|---|
| public static <F, T> List Behavior is described in | |