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. |
public ContextListTransform(ContextExtractor<T> extract)
extract - the extractorpublic ContextListTransform(String key)
KeyContextExtractor with the given key.key - the key to extract