T - The type of the content of the list to create.public class GenericCollectionExtractor<T> extends Object implements CollectionExtractor<List<T>,T>
Collection out of a given ResultElement by wrapping the result of an
ObjectExtractor into a singletonList.| Constructor and Description |
|---|
GenericCollectionExtractor(ObjectExtractor<T> extractor) |
| Modifier and Type | Method and Description |
|---|---|
List<T> |
extract(ResultElement resultElement)
Transforms the given
ResultElement into a Collection. |
public GenericCollectionExtractor(ObjectExtractor<T> extractor)
@Nonnull public List<T> extract(@Nonnull ResultElement resultElement)
CollectionExtractorResultElement into a Collection.extract in interface CollectionExtractor<List<T>,T>resultElement - The ResultElement to transform.Collection containing the content of the given ResultElement.Copyright © 2021 SAP SE. All rights reserved.