IN - OUT - public class ContextListTransformFunction<IN,OUT> extends Object implements Function<List<Context>,OUT>
List of Context instances to a List of IN
and immediately hand this list to an internal function. Return this
function's application on the klist as stream| Constructor and Description |
|---|
ContextListTransformFunction(ContextExtractor<IN> extract,
Function<List<IN>,OUT> inner) |
ContextListTransformFunction(String key,
Function<List<IN>,OUT> inner) |
public ContextListTransformFunction(ContextExtractor<IN> extract, Function<List<IN>,OUT> inner)
extract - the extraction strategyinner - the function applied to the transformed listpublic ContextListTransformFunction(String key, Function<List<IN>,OUT> inner)
key - the key to extract (a KeyContextExtractor is used)inner - function applied to the transformed list