|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.wamblee.conditions.AndCondition<T>
public class AndCondition<T>
Represents a logical and of different boolean conditions.
| Constructor Summary | |
|---|---|
AndCondition(Condition<T> aCondition1,
Condition<T> aCondition2)
Constructs the condition. |
|
AndCondition(List<Condition<T>> aConditions)
Constructs the and condition. |
|
| Method Summary | |
|---|---|
boolean |
matches(T aObject)
Determines if an object matches a condition. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AndCondition(Condition<T> aCondition1,
Condition<T> aCondition2)
aCondition1 - First condition.aCondition2 - Second condition.public AndCondition(List<Condition<T>> aConditions)
aConditions - List of conditions to use in the logical and.| Method Detail |
|---|
public boolean matches(T aObject)
Condition
matches in interface Condition<T>aObject - object to match.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||