Package-level declarations
Types
A filter, which forwards evaluation to the given filter, if the check function returns true
. Otherwise, the result will be falseResult.
A filter, which applies the logical AND operation between the given filters and returns the result. Only skips if all sub-filters skip, and only yields match if no sub-filters yield mismatch.
A filter, which only yields a matching result if the given collection contains the input. This filter never skips.
A filter, which applies the logical OR operation between the given filters and returns the result. Only skips if all sub-filters skip, and only yields mismatch if no sub-filters yield match.
A filter, which succeeds when the given value is expectedValue, fails otherwise, and never skips.
A filter, which returns the first IFilter.Result.Match result from filters. Only skips if all sub-filters skip, and only yields mismatch if no sub-filters yield match.
A filter, which fails when the given value is unexpectedValue, succeeds otherwise, and never skips.
A filter, which returns the opposite result of the provided filter.
A filter, which forwards evaluation to the given filter, unless the input is null
; in this case, the result will be nullResult.
Basically a NullGuardFilter for Java users using Optional.
A post-processor filter, which enables the output of the given sub-filter to be changed.
A pre-processor filter, which applies a transform to the value before evaluating the sub-filter on it. For more advanced control over invoking filter, please use an arrow function.
A filter, which yields a successful result only when the input number is within the defined range, and never skips.
A filter, yields a successful result only, when the provided regular expression matches the input.