|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.wamblee.conditions.FixedCondition<T>
public class FixedCondition<T>
Condition which always returns a fixed value.
| Constructor Summary | |
|---|---|
FixedCondition(boolean aValue)
Constructs the 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 FixedCondition(boolean aValue)
aValue - Fixed value of the condition.| 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 | |||||||||