|
|||||||||
| 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.OrCondition
public class OrCondition
Provides support for alternative conditions for a VisAD data object.
Instances are immutable.
| Field Summary |
|---|
| Fields inherited from class visad.data.in.Condition |
|---|
TRIVIAL_CONDITION |
| Constructor Summary | |
|---|---|
protected |
OrCondition(Condition conditionA,
Condition conditionB)
Constructs from two, alternative conditions for a VisAD data object. |
| Method Summary | |
|---|---|
boolean |
isSatisfied(DataImpl data)
Indicates if a VisAD data object satisfies this condition. |
static OrCondition |
orCondition(Condition conditionA,
Condition conditionB)
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 OrCondition(Condition conditionA,
Condition conditionB)
conditionA - A condition for a VisAD data object.conditionB - A condition for a VisAD data object.| Method Detail |
|---|
public static OrCondition orCondition(Condition conditionA,
Condition conditionB)
conditionA - A condition for a VisAD data object.conditionB - A condition for a VisAD data object.
public boolean isSatisfied(DataImpl data)
isSatisfied in class Conditiondata - A VisAD data object.
true if and only if the VisAD data
object satisfies one of the conditions used
during this instance's construction.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||