Class Predicates


  • public final class Predicates
    extends Object
    Deprecated.
    use instances of Predicate instead
    Utility class containing pre defined Predicates
    • Field Detail

      • TRUE

        public static final Predicate TRUE
        Deprecated.
        A predicate which is always true
      • FALSE

        public static final Predicate FALSE
        Deprecated.
        A predicate which is always false
    • Method Detail

      • TRUE

        public static <T> Predicate<T> TRUE()
        Deprecated.
        A predicate which is always true
        Type Parameters:
        T -
        Returns:
      • FALSE

        public static <T> Predicate<T> FALSE()
        Deprecated.
        A predicate which is always false
        Type Parameters:
        T -
        Returns: