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) Failuresfailuresprivate static PredicatesINSTANCE
-
Constructor Summary
Constructors Constructor Description Predicates()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidassertIsNotNull(Predicate<?> predicate)Asserts the givenis not null.Predicatestatic Predicatesinstance()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 givenis not null.Predicate- Parameters:
predicate- the givenPredicate.- Throws:
NullPointerException- if the givenPredicateisnull.
-
-