|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvisad.data.in.Condition
visad.data.in.NotCondition
public class NotCondition
Provides support for negating the condition for a VisAD data object.
Instances are immutable.
Field Summary |
---|
Fields inherited from class visad.data.in.Condition |
---|
TRIVIAL_CONDITION |
Constructor Summary | |
---|---|
protected |
NotCondition(Condition condition)
Constructs from a condition for a VisAD data object. |
Method Summary | |
---|---|
boolean |
isSatisfied(DataImpl data)
Indicates if a VisAD data object satisfies this condition. |
static NotCondition |
notCondition(Condition condition)
Returns an instance of this class. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected NotCondition(Condition condition)
condition
- A condition for a VisAD data object.Method Detail |
---|
public static NotCondition notCondition(Condition condition)
condition
- A condition for a VisAD data object.
public boolean isSatisfied(DataImpl data)
isSatisfied
in class Condition
data
- A VisAD data object.
true
if and only if the VisAD data
object doesn't satisfy the condition used during
this instance's construction.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |