|
|||||||||
| 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.MathTypeCondition
public class MathTypeCondition
Provides support for matching the MathType of a VisAD data object.
Instances are immutable.
| Field Summary |
|---|
| Fields inherited from class visad.data.in.Condition |
|---|
TRIVIAL_CONDITION |
| Constructor Summary | |
|---|---|
protected |
MathTypeCondition(MathType mathType)
Constructs from a VisAD math-type. |
| Method Summary | |
|---|---|
boolean |
isSatisfied(DataImpl data)
Indicates if a VisAD data object satisfies this condition. |
static MathTypeCondition |
mathTypeCondition(MathType mathType)
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 MathTypeCondition(MathType mathType)
mathType - The VisAD math-type to match against VisAD data
objects.| Method Detail |
|---|
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 Conditiondata - 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.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||