|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectantsnest.datastructure.ConditionList
public class ConditionList
A list of conditions
Condition,
Serialized Form| Constructor Summary | |
|---|---|
ConditionList()
Constructs a new condition list |
|
| Method Summary | |
|---|---|
void |
addCondition(Condition condition)
Adds a condition to the list |
boolean |
areConditionsMet()
Calculates whether all the conditions are met |
Condition |
getCondition(int position)
Gets a condition from the list |
int |
getLength()
Gets the length of the list |
void |
updateConditions(ChangeEvent event)
Updates conditions when a new event is received |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConditionList()
| Method Detail |
|---|
public void addCondition(Condition condition)
condition - the condition to addpublic Condition getCondition(int position)
position - the index of the condition to get
public int getLength()
public boolean areConditionsMet()
public void updateConditions(ChangeEvent event)
event - the new event that has occured
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||