Interface Predicate<I>

  • Type Parameters:
    I - The type of the input to use when testing the predicate.

    public interface Predicate<I>
    A type representing a predicate to test.
    • Method Detail

      • test

        boolean test​(I input)
        Evaluates this predicate on the given input.
        Parameters:
        input - The input to use when testing the predicate.
        Returns:
        true if the testing succeeded, false otherwise.