nullGuarded

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)(source)

Creates a PreProcessorFilter, which doesn't pass null as an input to filter.

Parameters

TInput

The type PreProcessorFilter filter accepts

TSubFilterInput

The type filter accepts

TResult

the type filter returns

transform

The transform to pass to PreProcessorFilter.transform

transformDescription

Textual description of transform for better dump readability

inputNullResult

The result to pass to InputNullGuardFilter.inputNullResult

filter

The sub-filter to evaluate