public final class NotNullPredicate<T> extends java.lang.Object implements Predicate<T>, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static Predicate |
INSTANCE
Singleton predicate instance
|
Modifier and Type | Method and Description |
---|---|
boolean |
evaluate(T object)
Evaluates the predicate returning true if the object does not equal null.
|
static <T> Predicate<T> |
notNullPredicate()
Factory returning the singleton instance.
|
public static final Predicate INSTANCE
public static <T> Predicate<T> notNullPredicate()
T
- the type that the predicate queriesCopyright © 2010 - 2020 Adobe. All Rights Reserved