public class NotCondition extends Condition
Instances are immutable.
TRIVIAL_CONDITION
Modifier | Constructor and Description |
---|---|
protected |
NotCondition(Condition condition)
Constructs from a condition for a VisAD data object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isSatisfied(DataImpl data)
Indicates if a VisAD data object satisfies this condition.
|
static NotCondition |
notCondition(Condition condition)
Returns an instance of this class.
|
protected NotCondition(Condition condition)
condition
- A condition for a VisAD data object.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.Copyright © 1996–2023 The SSEC Visualization Project. All rights reserved.