RangeFilter

public final class RangeFilter(source)

A filter, which yields a successful result only when the input number is within the defined range, and never skips.

See also

Functions

Link copied to clipboard
public final static RangeFilter atLeast(Integer min)

Creates a filter, which yields a successful result when the input number >= min

Link copied to clipboard
public final static RangeFilter atMost(Integer max)

Creates a filter, which yields a successful result when the input number <= max

Link copied to clipboard
public final static RangeFilter between(Integer min, Integer max)

Creates a filter, which yields a successful result when min<= input number <= max

Link copied to clipboard
public <Error class: unknown class><? extends Unit> evaluate(Integer value)
Link copied to clipboard
public String toString()