|
||||||||||
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.ComparableCondition
ComparableCondition class
Field Summary | |
static int |
EQ
A shorthand for the "equal to" operation. |
static int |
EQUAL_TO
Indicates that this is an "equal to" operation. |
static int |
GREATER_THAN
Indicates that this is a "greater than" operation. |
static int |
GREATER_THAN_OR_EQUAL_TO
Indicates that this is a "greater than or equal to" operation. |
static int |
GT
A shorthand for the "greater than" operation. |
static int |
GTE
A shorthand for the "greater than or equal to" operation. |
static int |
LESS_THAN
Indicates that this is a "less than" operation. |
static int |
LESS_THAN_OR_EQUAL_TO
Indicates that this is a "less than or equal to" operation. |
static int |
LT
A shorthand for the "less than" operation. |
static int |
LTE
A shorthand for the "less than or equal to" operation. |
static int |
NE
A shorthand for the "not equal to" operation. |
static int |
NOT_EQUAL_TO
Indicates that this is a "not equal to" operation. |
Constructor Summary | |
ComparableCondition(byte comparable)
Constructs a new ComparableCondition with the default type of EQUALS_TO. |
|
ComparableCondition(byte comparable,
int type)
Constructs a new ComparableCondition with the default type of EQUALS_TO. |
|
ComparableCondition(char comparable)
Constructs a new ComparableCondition with the default type of EQUALS_TO. |
|
ComparableCondition(char comparable,
int type)
Constructs a new ComparableCondition with the default type of EQUALS_TO. |
|
ComparableCondition(java.lang.Comparable comparable)
Constructs a new ComparableCondition with the default type of EQUALS_TO. |
|
ComparableCondition(java.lang.Comparable comparable,
int type)
Constructs a new ComparableCondition with the default type of EQUALS_TO. |
|
ComparableCondition(double comparable)
Constructs a new ComparableCondition with the default type of EQUALS_TO. |
|
ComparableCondition(double comparable,
int type)
Constructs a new ComparableCondition with the default type of EQUALS_TO. |
|
ComparableCondition(float comparable)
Constructs a new ComparableCondition with the default type of EQUALS_TO. |
|
ComparableCondition(float comparable,
int type)
Constructs a new ComparableCondition with the default type of EQUALS_TO. |
|
ComparableCondition(int comparable)
Constructs a new ComparableCondition with the default type of EQUALS_TO. |
|
ComparableCondition(int comparable,
int type)
Constructs a new ComparableCondition with the default type of EQUALS_TO. |
|
ComparableCondition(long comparable)
Constructs a new ComparableCondition with the default type of EQUALS_TO. |
|
ComparableCondition(long comparable,
int type)
Constructs a new ComparableCondition with the default type of EQUALS_TO. |
|
ComparableCondition(short comparable)
Constructs a new ComparableCondition with the default type of EQUALS_TO. |
|
ComparableCondition(short comparable,
int type)
Constructs a new ComparableCondition with the default type of EQUALS_TO. |
|
ComparableCondition(State state,
byte comparable)
Constructs a new ComparableCondition with the default type of EQUALS_TO. |
|
ComparableCondition(State state,
byte comparable,
int type)
Constructs a new ComparableCondition with the default type of EQUALS_TO. |
|
ComparableCondition(State state,
char comparable)
Constructs a new ComparableCondition with the default type of EQUALS_TO. |
|
ComparableCondition(State state,
char comparable,
int type)
Constructs a new ComparableCondition with the default type of EQUALS_TO. |
|
ComparableCondition(State state,
java.lang.Comparable comparable)
Constructs a new ComparableCondition with the default type of EQUALS_TO. |
|
ComparableCondition(State state,
java.lang.Comparable comparable,
int type)
Constructs a new ComparableCondition with the default type of EQUALS_TO. |
|
ComparableCondition(State state,
double comparable)
Constructs a new ComparableCondition with the default type of EQUALS_TO. |
|
ComparableCondition(State state,
double comparable,
int type)
Constructs a new ComparableCondition with the default type of EQUALS_TO. |
|
ComparableCondition(State state,
float comparable)
Constructs a new ComparableCondition with the default type of EQUALS_TO. |
|
ComparableCondition(State state,
float comparable,
int type)
Constructs a new ComparableCondition with the default type of EQUALS_TO. |
|
ComparableCondition(State state,
int comparable)
Constructs a new ComparableCondition with the default type of EQUALS_TO. |
|
ComparableCondition(State state,
int comparable,
int type)
Constructs a new ComparableCondition with the default type of EQUALS_TO. |
|
ComparableCondition(State state,
long comparable)
Constructs a new ComparableCondition with the default type of EQUALS_TO. |
|
ComparableCondition(State state,
long comparable,
int type)
Constructs a new ComparableCondition with the default type of EQUALS_TO. |
|
ComparableCondition(State state,
short comparable)
Constructs a new ComparableCondition with the default type of EQUALS_TO. |
|
ComparableCondition(State state,
short comparable,
int type)
Constructs a new ComparableCondition with the default type of EQUALS_TO. |
Method Summary | |
int |
getType()
Returns the type of ComparableCondition this is. |
boolean |
satisfiedBy(java.lang.Object conditional)
Implemented method for the Condition interface. |
void |
setType(int type)
Sets the type of ComparableCondition this is. |
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 |
Field Detail |
public static final int EQUAL_TO
public static final int NOT_EQUAL_TO
public static final int GREATER_THAN
public static final int LESS_THAN
public static final int GREATER_THAN_OR_EQUAL_TO
public static final int LESS_THAN_OR_EQUAL_TO
public static final int EQ
public static final int NE
public static final int GT
public static final int LT
public static final int GTE
public static final int LTE
Constructor Detail |
public ComparableCondition(java.lang.Comparable comparable)
comparable
- The Comparable object to compare against.public ComparableCondition(java.lang.Comparable comparable, int type)
comparable
- The Comparable object to compare against.type
- The type of comparison to be done.public ComparableCondition(byte comparable)
comparable
- The Comparable object to compare against.public ComparableCondition(byte comparable, int type)
comparable
- The Comparable object to compare against.type
- The type of comparison to be done.public ComparableCondition(char comparable)
comparable
- The Comparable object to compare against.public ComparableCondition(char comparable, int type)
comparable
- The Comparable object to compare against.type
- The type of comparison to be done.public ComparableCondition(double comparable)
comparable
- The Comparable object to compare against.public ComparableCondition(double comparable, int type)
comparable
- The Comparable object to compare against.type
- The type of comparison to be done.public ComparableCondition(float comparable)
comparable
- The Comparable object to compare against.public ComparableCondition(float comparable, int type)
comparable
- The Comparable object to compare against.type
- The type of comparison to be done.public ComparableCondition(int comparable)
comparable
- The Comparable object to compare against.public ComparableCondition(int comparable, int type)
comparable
- The Comparable object to compare against.type
- The type of comparison to be done.public ComparableCondition(long comparable)
comparable
- The Comparable object to compare against.public ComparableCondition(long comparable, int type)
comparable
- The Comparable object to compare against.type
- The type of comparison to be done.public ComparableCondition(short comparable)
comparable
- The Comparable object to compare against.public ComparableCondition(short comparable, int type)
comparable
- The Comparable object to compare against.type
- The type of comparison to be done.public ComparableCondition(State state, java.lang.Comparable comparable)
state
- The target state for this condition.comparable
- The Comparable object to compare against.public ComparableCondition(State state, java.lang.Comparable comparable, int type)
state
- The target state for this condition.comparable
- The Comparable object to compare against.type
- The type of comparison to be done.public ComparableCondition(State state, byte comparable)
state
- The target state for this condition.comparable
- The Comparable object to compare against.public ComparableCondition(State state, byte comparable, int type)
state
- The target state for this condition.comparable
- The Comparable object to compare against.type
- The type of comparison to be done.public ComparableCondition(State state, char comparable)
state
- The target state for this condition.comparable
- The Comparable object to compare against.public ComparableCondition(State state, char comparable, int type)
state
- The target state for this condition.comparable
- The Comparable object to compare against.type
- The type of comparison to be done.public ComparableCondition(State state, double comparable)
state
- The target state for this condition.comparable
- The Comparable object to compare against.public ComparableCondition(State state, double comparable, int type)
state
- The target state for this condition.comparable
- The Comparable object to compare against.type
- The type of comparison to be done.public ComparableCondition(State state, float comparable)
state
- The target state for this condition.comparable
- The Comparable object to compare against.public ComparableCondition(State state, float comparable, int type)
state
- The target state for this condition.comparable
- The Comparable object to compare against.type
- The type of comparison to be done.public ComparableCondition(State state, int comparable)
state
- The target state for this condition.comparable
- The Comparable object to compare against.public ComparableCondition(State state, int comparable, int type)
comparable
- The Comparable object to compare against.type
- The type of comparison to be done.public ComparableCondition(State state, long comparable)
state
- The target state for this condition.comparable
- The Comparable object to compare against.public ComparableCondition(State state, long comparable, int type)
state
- The target state for this condition.comparable
- The Comparable object to compare against.type
- The type of comparison to be done.public ComparableCondition(State state, short comparable)
state
- The target state for this condition.comparable
- The Comparable object to compare against.public ComparableCondition(State state, short comparable, int type)
state
- The target state for this condition.comparable
- The Comparable object to compare against.type
- The type of comparison to be done.Method Detail |
public final void setType(int type)
type
- The new type of this condition.public final int getType()
public final boolean satisfiedBy(java.lang.Object conditional)
satisfiedBy
in class Condition
conditional
- The object to check.
true
if this condition
is met by the Object conditional
and
false
otherwise.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |