IFilter

public interface IFilter<T, TResult>(source)

Base class for filtering. If the filter evaluates sub-filters, it should implement Iterable to show them in the dumped tree.

Parameters

<T>

The type the filter accepts

<TResult>

The type the filter returns

Inheritors

Types

Link copied to clipboard
public abstract class Result<T>
Represents a filter result.

Functions

Link copied to clipboard
@NotNull()
public @NotNull() Tree.Node createTree()
Link copied to clipboard
@NotNull()
public abstract @NotNull() IFilter.Result<? extends TResult> evaluate(T value)
Evaluates the filter with the given value.