public class Predicates
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) Failures |
failures |
private static Predicates |
INSTANCE |
Constructor and Description |
---|
Predicates() |
Modifier and Type | Method and Description |
---|---|
void |
assertIsNotNull(java.util.function.Predicate<?> predicate)
Asserts the given
is not null. |
static Predicates |
instance()
Returns the singleton instance of this class.
|
private static final Predicates INSTANCE
Failures failures
public static Predicates instance()
public void assertIsNotNull(java.util.function.Predicate<?> predicate)
Predicate
is not null.predicate
- the given Predicate
.java.lang.NullPointerException
- if the given Predicate
is null
.