Package org.apache.pekko.japi.function
Interface Predicate<T>
- All Superinterfaces:
Serializable
Java API: Defines a criteria and determines whether the parameter meets this criteria.
Serializable is needed to be able to grab line number for Java 8 lambdas.
Supports throwing Exception in the apply, which the java.util.function.Predicate counterpart does not.-
Method Summary
-
Method Details
-
negate
Returns a predicate that represents the logical negation of this predicate.- Since:
- 2.0.0
-
test
-