|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.core.util.CompoundCondition<T>
T
- the type for which the condition is usedpublic class CompoundCondition<T>
A condition that is composed of a set of other conditions.
Constructor Summary | |
---|---|
CompoundCondition(Collection<ICondition<T>> theconditions)
Creates a compound condition from a collection of conditions. |
|
CompoundCondition(ICondition<T>[] theconditions)
Creates a compound condition from an array of conditions. |
Method Summary | |
---|---|
boolean |
evaluate(T object)
Evaluate this condition on the given object. |
List<ICondition<T>> |
getChildConditions()
getter method for conditions. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CompoundCondition(Collection<ICondition<T>> theconditions)
theconditions
- the conditionspublic CompoundCondition(ICondition<T>[] theconditions)
theconditions
- the conditionsMethod Detail |
---|
public List<ICondition<T>> getChildConditions()
public boolean evaluate(T object)
evaluate
in interface ICondition<T>
object
- a target object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |