Interface Predicate<T>

  • Type Parameters:
    T - type of values this predicate is defined on

    public interface Predicate<T>
    Type safe counter part of Predicate.
    • Method Detail

      • evaluate

        boolean evaluate​(T arg)
        Use the specified parameter to perform a test that returns true or false.
        Parameters:
        arg - the predicate to evaluate, should not be changed
        Returns:
        true or false