Package org.assertj.core.internal
Class Predicates
- java.lang.Object
-
- org.assertj.core.internal.Predicates
-
public class Predicates extends Object
-
-
Field Summary
Fields Modifier and Type Field Description (package private) Failures
failures
private static Predicates
INSTANCE
-
Constructor Summary
Constructors Constructor Description Predicates()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
assertIsNotNull(Predicate<?> predicate)
Asserts the given
is not null.Predicate
static Predicates
instance()
Returns the singleton instance of this class.
-
-
-
Field Detail
-
INSTANCE
private static final Predicates INSTANCE
-
failures
Failures failures
-
-
Method Detail
-
instance
public static Predicates instance()
Returns the singleton instance of this class.- Returns:
- the singleton instance of this class.
-
assertIsNotNull
public void assertIsNotNull(Predicate<?> predicate)
Asserts the given
is not null.Predicate
- Parameters:
predicate
- the givenPredicate
.- Throws:
NullPointerException
- if the givenPredicate
isnull
.
-
-