|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.openai.util.fsm.AbstractCondition
net.openai.util.fsm.NotCondition
public final class NotCondition
This condition works as a negation operator to another condition.
| Constructor Summary | |
|---|---|
NotCondition(Condition condition)
Constructs a new NotCondition for the given condition. |
|
NotCondition(State targetState,
Condition condition)
Constructs a new NotCondition for the given target state and condition. |
|
| Method Summary | |
|---|---|
boolean |
satisfiedBy(java.lang.Object conditional)
Called to check if the conditional meets the criteria defined by this condition. |
| Methods inherited from class net.openai.util.fsm.AbstractCondition |
|---|
getTargetState, setTargetState |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NotCondition(Condition condition)
condition - The condition to negate.
public NotCondition(State targetState,
Condition condition)
targetState - The target state for the condition.| Method Detail |
|---|
public final boolean satisfiedBy(java.lang.Object conditional)
conditional - The object to check.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||