Package-level declarations

Types

Link copied to clipboard
public final class ConjunctionFilter<T extends Object> implements Filter<T, Unit>, Iterable<Filter<T, ? extends Any>>

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.

Link copied to clipboard
public final class ContainingFilter<T extends Object> implements Filter<T, Unit>, Iterable<T>

A filter, which only yields a matching result if the given collection contains the input. This filter never skips.

Link copied to clipboard
public final class DisjunctionFilter<T extends Object> implements Filter<T, Unit>, Iterable<Filter<T, ? extends Any>>

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.

Link copied to clipboard
public final class EqualityFilter<T extends Object> implements Filter<T, Unit>

A filter, which succeeds when the given value is expectedValue, fails otherwise, and never skips.

Link copied to clipboard
public interface Filter<T extends Object, TResult extends Object>

Functional interface for filtering.

Link copied to clipboard
public final class FilterInfo

A filter descriptor, which specifies every Interaction.texture the provided filter can replace.

Link copied to clipboard
public interface FilterResult<T extends Object>

Represents a filter result.

Link copied to clipboard
public final class InequalityFilter<T extends Object> implements Filter<T, Unit>

A filter, which fails when the given value is unexpectedValue, succeeds otherwise, and never skips.

Link copied to clipboard
public final class NegationFilter<T extends Object> implements Filter<T, Unit>, Iterable<Filter<T, ? extends Any>>

A filter, which returns the opposite result of the provided filter.

Link copied to clipboard
public final class NullGuardFilter<T extends Object, TResult extends Object> implements Filter<T, TResult>, Iterable<Filter<T, TResult>>

A filter, which forwards evaluation to the given filter, unless the input is null; in this case, the result will be nullResult.

Link copied to clipboard
public final class NumberRangeFilter implements Filter<Int, Unit>

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

Link copied to clipboard
public final class PostProcessorFilter<T extends Object, TFilterResult extends Object, TResult extends Object> implements Filter<T, TResult>, Iterable<Filter<T, ? extends TFilterResult>>

A post-processor filter, which enables the output of the given sub-filter to be changed.

Link copied to clipboard
public final class PreProcessorFilter<TSource extends Object, TFilter extends Object, TResult extends Object> implements Filter<TSource, TResult>, Iterable<Filter<TFilter, TResult>>

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.

Link copied to clipboard
public final class RegularExpressionFilter implements Filter<String, Unit>

A filter, yields a successful result only, when the provided regular expression matches the input.