T - Type of elements in the Context being extractedpublic class ContextListTransform<T> extends Object implements Function<List<Context>,List<T>>
List of Context instances to a stream of
List of T. The extraction strategy is used on each item in the list.| Constructor and Description |
|---|
ContextListTransform(ContextExtractor<T> extract)
Construct with the given extractor.
|
ContextListTransform(String key)
Construct using a
KeyContextExtractor with the given key. |
| Modifier and Type | Method and Description |
|---|---|
List<T> |
apply(List<Context> in)
Apply the function to the input argument and return the result.
|
public ContextListTransform(ContextExtractor<T> extract)
extract - the extractorpublic ContextListTransform(String key)
KeyContextExtractor with the given key.key - the key to extract