Interface Filter<T>

  • Type Parameters:
    T - The type of object to filter

    public interface Filter<T>
    Generic Filter functional interface.
    • Method Detail

      • accept

        boolean accept​(T t)
        Accept only some instances of T.
        Parameters:
        t - The instance to filter
        Returns:
        true if the instance is accepted