Interface Predicate

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static Predicate FALSE
      Constant predicate that returns false for all objects.
      static Predicate TRUE
      Constant predicate that returns true for all objects.
    • Field Detail

      • TRUE

        static final Predicate TRUE
        Constant predicate that returns true for all objects.
      • FALSE

        static final Predicate FALSE
        Constant predicate that returns false for all objects.
    • Method Detail

      • evaluate

        boolean evaluate​(Object object)
        Evaluates the predicate for the given object.
        Parameters:
        object - some object
        Returns:
        predicate result