public class MathTypeCondition extends Condition
Instances are immutable.
TRIVIAL_CONDITION
Modifier | Constructor and Description |
---|---|
protected |
MathTypeCondition(MathType mathType)
Constructs from a VisAD math-type.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isSatisfied(DataImpl data)
Indicates if a VisAD data object satisfies this condition.
|
static MathTypeCondition |
mathTypeCondition(MathType mathType)
Returns an instance of this class.
|
protected MathTypeCondition(MathType mathType)
mathType
- The VisAD math-type to match against VisAD data
objects.public static MathTypeCondition mathTypeCondition(MathType mathType)
mathType
- The VisAD math-type to match against VisAD data
objects.public boolean isSatisfied(DataImpl data)
isSatisfied
in class Condition
data
- A VisAD data object.true
if and only if the math-type
of the VisAD data object equals the math-type
used during this instance's construction.Copyright © 1996–2023 The SSEC Visualization Project. All rights reserved.