|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectvisidia.simulation.process.criterion.CompoundCriterion
public class CompoundCriterion
This class defines a criterion as a combination of several criteria. The CompoundCriterion is matched if and only if all contained criteria are matched.
| Constructor Summary | |
|---|---|
CompoundCriterion()
Instantiates a new (empty) compound criterion. |
|
| Method Summary | |
|---|---|
void |
add(Criterion c)
Adds a criterion to the CompoundCriterion. |
boolean |
isMatchedBy(java.lang.Object o)
Checks if object satisfies the criterion. |
boolean |
remove(Criterion c)
Removes a criterion. |
void |
removeAllCriterion()
Removes all criteria. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CompoundCriterion()
| Method Detail |
|---|
public void add(Criterion c)
c - the criterionpublic boolean remove(Criterion c)
c - the criterion
public void removeAllCriterion()
public boolean isMatchedBy(java.lang.Object o)
isMatchedBy in interface Criteriono - the object
Criterion.isMatchedBy(java.lang.Object)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||