public final class NullaryNot extends Object implements NullaryPredicate
Tests to the logical inverse
of some other predicate.| Constructor and Description |
|---|
NullaryNot(NullaryPredicate predicate)
Create a new NullaryNot.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
static NullaryPredicate |
not(NullaryPredicate that)
Get a NullaryNot instance for
that. |
boolean |
test()
Evaluate this predicate.
|
String |
toString() |
public NullaryNot(NullaryPredicate predicate)
predicate - NullaryPredicate to negatepublic boolean test()
test in interface NullaryPredicatepublic static NullaryPredicate not(NullaryPredicate that)
that.that - Predicate to negateCopyright © 2003–2014 The Apache Software Foundation. All rights reserved.