|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object rdr.core.Operator
public class Operator
Operator class Defines the various comparison operators you can use in a condition
Constructor Summary | |
---|---|
Operator(int op)
Constructor |
Method Summary | |
---|---|
static Operator |
findOperator(java.lang.String str)
Returns an Operator object in response to a string representation of one. |
int |
getOperator()
Get the operator code |
java.lang.String |
getOperatorName()
Get the "name" of the operator i.e. |
int |
getOpposite()
Get the operator code for the opposite operator of this one i.e. |
void |
setOperator(int op)
Set the operator code |
java.lang.String |
toString()
Converts this operator into a readable string. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Operator(int op)
op
- the operator codeMethod Detail |
---|
public int getOperator()
public java.lang.String getOperatorName()
public void setOperator(int op)
op
- the operator code to usepublic int getOpposite()
public java.lang.String toString()
toString
in class java.lang.Object
public static Operator findOperator(java.lang.String str)
str
- the string representation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |