|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.openai.util.fsm.Condition | +--net.openai.util.fsm.EqualsCondition
EqualsCondition class
Constructor Summary | |
EqualsCondition()
Constructs a new EqualsCondition. |
|
EqualsCondition(java.lang.Object target)
Constructs a new EqualsCondition with the target target . |
|
EqualsCondition(State targetCondition)
Constructs a new EqualsCondtion with the given target state. |
|
EqualsCondition(State targetState,
java.lang.Object target)
Constructs a new EqualsCondition with the target target
and the given target state. |
Method Summary | |
boolean |
satisfiedBy(java.lang.Object conditional)
Implemented method for the Condition interface Called to check if the condition meets the criteria defined by this state. |
Methods inherited from class net.openai.util.fsm.Condition |
getSourceStates, getTargetState, setTargetState |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public EqualsCondition()
public EqualsCondition(State targetCondition)
public EqualsCondition(java.lang.Object target)
target
.
The satisfiedBy
method will return true if the passed
in object is equal to (== operator) the target object.
target
- The target of this equals condition.public EqualsCondition(State targetState, java.lang.Object target)
target
and the given target state. The satisfiedBy
method will
return true if the passed in object is equal to (== operator) the
target object.
targetState
- The target state of this condition.target
- The target of this equals condition.Method Detail |
public final boolean satisfiedBy(java.lang.Object conditional)
conditional == target
satisfiedBy
in class Condition
conditional
- The object to check.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |