|
Evolvica Core API Version 0.6.2 Last Modified: June 29 2004 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.evolvica.core.terminate.OrCondition
A condition which contains several other conditions and concatenates them with a logical OR. The condition returns false if no conditions are set.
Constructor Summary | |
OrCondition()
|
Method Summary | |
ICondition[] |
getConditions()
Returns the conditions contained in this multi condition. |
boolean |
isTrue(IIndividualSet iset)
Checks if this condition is true for the given individual set. |
void |
setConditions(ICondition[] conditions)
Sets the conditions of this multi condition. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public OrCondition()
Method Detail |
public ICondition[] getConditions()
IMultiCondition
getConditions
in interface IMultiCondition
IMultiCondition.getConditions()
public void setConditions(ICondition[] conditions)
IMultiCondition
setConditions
in interface IMultiCondition
conditions
- array of conditions to setIMultiCondition.setConditions(org.evolvica.core.terminate.ICondition[])
public boolean isTrue(IIndividualSet iset)
ICondition
isTrue
in interface ICondition
iset
- individual set to check for the truth of the condition
ICondition.isTrue(org.evolvica.core.IIndividualSet)
|
Evolvica Core API Version 0.6.2 Last Modified: June 29 2004 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |