Top Fields Constructors Methods
org.assertj.core.internal

public Class Predicates

extends Object
Class Inheritance
Static Imports
java.util.Objects.requireNonNull

Field Summary

Modifier and TypeField and Description
pack-priv Failures
private static final Predicates

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public void
assertIsNotNull(Predicate<?>
the given Predicate.
predicate
)

Asserts the given Predicate is not null.

public static Predicates

Returns:

the singleton instance of this class.
instance
()

Returns the singleton instance of this class.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

failuresback to summary
pack-priv Failures failures
Annotations
@VisibleForTesting
INSTANCEback to summary
private static final Predicates INSTANCE

Constructor Detail

Predicatesback to summary
pack-priv Predicates()
Annotations
@VisibleForTesting

Method Detail

assertIsNotNullback to summary
public void assertIsNotNull(Predicate<?> predicate)

Asserts the given Predicate is not null.

Parameters
predicate:Predicate<?>

the given Predicate.

Exceptions
NullPointerException:
if the given Predicate is null.
instanceback to summary
public static Predicates instance()

Returns the singleton instance of this class.

Returns:Predicates

the singleton instance of this class.