Post Processor Filter
public final class PostProcessorFilter<TInput extends Object, TSubFilterResult extends Object, TResult extends Object> implements IFilter<TInput, TResult>, Iterable<IFilter<TInput, ? extends TSubFilterResult>>(source)
A post-processor filter, which changes the output of the given sub-filter.
Parameters
TInput
The type the filter accepts
TSub Filter Result
The type the sub-filter's returns
TResult
The type the filter returns
filter
The sub-filter to evaluate
transform Description
Textual description of transform for better dump readability
See also
Constructors
Link copied to clipboard
public PostProcessorFilter<TInput, TSubFilterResult, TResult> PostProcessorFilter<TInput extends Any, TSubFilterResult extends Any, TResult extends Any>(IFilter<TInput, ? extends TSubFilterResult> filter, TResult result)
Creates a new post-processor filter by specifying its return value.
public PostProcessorFilter<TInput, TSubFilterResult, TResult> PostProcessorFilter<TInput extends Any, TSubFilterResult extends Any, TResult extends Any>(IFilter<TInput, ? extends TSubFilterResult> filter, String transformDescription, Function2<TInput, TSubFilterResult, TResult> transform)