Interface Predicate<T>

  • Type Parameters:
    T - the type of input objects provided to test.

    public interface Predicate<T>
    Determines if the input object matches some criteria. *
    • Method Detail

      • test

        boolean test​(T t)
        Return true if the input object matches some criteria.
        Parameters:
        t - the input object.
        Returns:
        true if the input object matched some criteria.