Package org.multiverse.api.predicates
Class Predicates
java.lang.Object
org.multiverse.api.predicates.Predicates
Predicate utility class.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
IsNullPredicate
-
IsNotNullPredicate
-
-
Constructor Details
-
Predicates
private Predicates()
-
-
Method Details
-
newIsNullPredicate
Creates a Predicate that checks if the passed object is null. You will get an existing instance.- Returns:
- the Predicate.
-
newIsNotNullPredicate
Creates a Predicate that checks if the passed object is not null. You will get an existing instance.- Returns:
- the Predicate.
-