Class Predicates


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

      Fields 
      Modifier and Type Field Description
      static Predicate FALSE
      Deprecated.
      A predicate which is always false
      static Predicate TRUE
      Deprecated.
      A predicate which is always true
    • Method Summary

      All Methods Static Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      static <T> Predicate<T> FALSE()
      Deprecated.
      A predicate which is always false
      static <T> Predicate<T> TRUE()
      Deprecated.
      A predicate which is always true
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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: