Pre Processor Filter
public final class PreProcessorFilter<TInput extends Object, TSubFilterInput extends Object, TResult extends Object> implements IFilter<TInput, TResult>, Iterable<IFilter<TSubFilterInput, TResult>>(source)
A pre-processor filter, which applies a transform to the value before evaluating the sub-filter on it.
Parameters
TInput
The type this filter accepts
TSub Filter Input
The type the sub-filter accepts
TResult
the type the filter returns
transform
The transform to apply to the value in evaluate before evaluating filter
transform Description
Textual description of transform for better dump readability
filter
The sub-filter to evaluate
See also
Constructors
Link copied to clipboard
public PreProcessorFilter<TInput, TSubFilterInput, TResult> PreProcessorFilter<TInput extends Any, TSubFilterInput extends Any, TResult extends Any>(Function1<TInput, TSubFilterInput> transform, String transformDescription, IFilter<TSubFilterInput, TResult> filter)
Functions
Link copied to clipboard
public final static PreProcessorFilter<TInput, TSubFilterInput, TResult> nullGuarded<TInput extends Any, TSubFilterInput extends Any, TResult extends Any>(Function1<TInput, TSubFilterInput> transform, String transformDescription, TResult inputNullResult, IFilter<TSubFilterInput, TResult> filter)
Creates a PreProcessorFilter, which doesn't pass null as an input to filter.