|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.collections15.functors.predicate.NotNullPredicate<E>
public final class NotNullPredicate<E>
Predicate
implementation that evaluates to true
if
the input is not null
.
Constructor Summary | |
---|---|
protected |
NotNullPredicate()
Creates a new instance. |
Method Summary | ||
---|---|---|
boolean |
evaluate(E object)
Evaluates the Predicate , returning true if the
object is not null . |
|
static
|
getInstance()
Returns a PredicateInstance which evaluates to
true if the input object is not null . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected NotNullPredicate()
Method Detail |
---|
public static <T> Predicate<T> getInstance()
PredicateInstance
which evaluates to
true
if the input object is not null
.
PredicateInstance
which evaluates to
true
if the input object is not null
.public boolean evaluate(E object)
Predicate
, returning true
if the
object is not null
.
evaluate
in interface Predicate<E>
object
- The object to evaluate.
true
if the object is not null
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |