Package org.apache.camel.util.function
Class Predicates
- java.lang.Object
-
- org.apache.camel.util.function.Predicates
-
public final class Predicates extends Object
Predicate helpers, inspired by http://minborgsjavapot.blogspot.it/2016/03/put-your-java-8-method-references-to.html
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> Predicate<T>
negate(Predicate<T> predicate)
Negates a predicate, useful for method references.static <T> Predicate<T>
of(Predicate<T> predicate)
Wrap a predicate, useful for method references.
-