Class Predicates
java.lang.Object
ru.progrm_jarvis.javacommons.util.function.Predicates
Common implementations of
Predicate.-
Method Summary
Modifier and TypeMethodDescriptionCreates a predicate which is alwaysfalse.Creates a predicate which is alwaystrue.
-
Method Details
-
alwaysTrue
Creates a predicate which is alwaystrue.- Type Parameters:
T- any formal type of the input parameter- Returns:
- predicate which is always
true
-
alwaysFalse
Creates a predicate which is alwaysfalse.- Type Parameters:
T- any formal type of the input parameter- Returns:
- predicate which is always
false
-