Predicate (Java SE 26 & JDK 26)
- Type Parameters:
T- the type of the input to the predicate
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Returns a composed predicate that represents a short-circuiting logical AND of this predicate and another.
negate()Returns a predicate that represents the logical negation of this predicate.
Returns a predicate that is the negation of the supplied predicate.
Returns a composed predicate that represents a short-circuiting logical OR of this predicate and another.
booleanEvaluates this predicate on the given argument.
-
Method Details
-
test
-
and
-
negate
-
or
-
isEqual
-
not
-