Class Predicates


  • public final class Predicates
    extends java.lang.Object
    Utility class containing pre defined Predicates
    • Field Summary

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

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static <T> Predicate<T> FALSE()
      A predicate which is always false
      static <T> Predicate<T> TRUE()
      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
        A predicate which is always true
      • FALSE

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

      • TRUE

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

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