Post Processor Filter
class PostProcessorFilter<TInput, TSubFilterResult : Any, TResult : Any>(filter: IFilter<TInput, out TSubFilterResult>, transformDescription: String, transform: (input: TInput, result: TSubFilterResult?) -> TResult?) : IFilter<TInput, TResult> , Iterable<IFilter<TInput, out 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
Creates a new post-processor filter by specifying its return value.
constructor(filter: IFilter<TInput, out TSubFilterResult>, transformDescription: String, transform: (input: TInput, result: TSubFilterResult?) -> TResult?)