Interface Predicate

    • Method Detail

      • and

        Predicate and​(Predicate predicate)
        Creates an AND of the predicate with the argument.
        Parameters:
        predicate - - A simple or compound predicate
        Returns:
        the predicate that is the AND of the original simple or compound predicate and the argument.
      • or

        Predicate or​(Predicate predicate)
        Creates an OR of the predicate with the argument.
        Parameters:
        predicate - - A simple or compound predicate
        Returns:
        the predicate that is the OR of the original simple or compound predicate and the argument.
      • not

        Predicate not()
        Creates a negation of the predicate with the argument.
        Returns:
        the predicate that is the negation of the original simple or compound predicate.