java.io.Serializable
, Predicate
public final class NullPredicate extends java.lang.Object implements Predicate, java.io.Serializable
Modifier and Type | Field | Description |
---|---|---|
static Predicate |
INSTANCE |
Singleton predicate instance
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
evaluate(java.lang.Object object) |
Evaluates the predicate returning true if the input is null.
|
static Predicate |
getInstance() |
Factory returning the singleton instance.
|
Copyright © 2001-2017 Apache Software Foundation. All Rights Reserved.