|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface represents a mathematical comparator. Comparators are: > < <= >= !=. the 'evaluate' methods do the comparison betwwen different type of variables: int, char, boolean,...
Field Summary |
Fields inherited from interface org.objectweb.medor.expression.api.Operator |
ABS, AND, AVG, BITWIZE, CONCAT, CONDAND, CONDOR, COUNT, DIV, EQUAL, FIRSTLOCATE, GREATER, GREATEREQUAL, IN, INDEXEDLOCATE, LENGTH, LOWER, LOWEREQUAL, MAX, MEMBEROF, MIN, MINUS, MOD, MULT, NAV, NOT, NOTEQUAL, NOTMEMBEROF, OR, PLUS, SQRT, STRING_LOWER, STRING_UPPER, SUBSTRING, SUM, UMINUS |
Method Summary | |
boolean |
evaluate(boolean op1,
boolean op2)
This fonction evaluate the comaparison between two boolean variable; |
boolean |
evaluate(char op1,
char op2)
This fonction evaluate the comaparison between two characters variable; |
boolean |
evaluate(double op1,
double op2)
This fonction evaluate the comaparison between two double variable; |
boolean |
evaluate(double op1,
float op2)
This fonction evaluate the comaparison between two numerics variables; |
boolean |
evaluate(double op1,
int op2)
This fonction evaluate the comaparison between two numerics variables; |
boolean |
evaluate(double op1,
long op2)
This fonction evaluate the comaparison between two numerics variables; |
boolean |
evaluate(double op1,
short op2)
This fonction evaluate the comaparison between two numerics variables; |
boolean |
evaluate(float op1,
double op2)
This fonction evaluate the comaparison between two numerics variables; |
boolean |
evaluate(float op1,
float op2)
This fonction evaluate the comaparison between two floats variables; |
boolean |
evaluate(float op1,
int op2)
This fonction evaluate the comaparison between two numerics variables; |
boolean |
evaluate(float op1,
long op2)
This fonction evaluate the comaparison between two numerics variables; |
boolean |
evaluate(float op1,
short op2)
This fonction evaluate the comaparison between two numerics variables; |
boolean |
evaluate(int op1,
double op2)
This fonction evaluate the comaparison between two numerics variables; |
boolean |
evaluate(int op1,
float op2)
This fonction evaluate the comaparison between two numerics variables; |
boolean |
evaluate(int op1,
int op2)
This fonction evaluate the comaparison between two numerics variables; |
boolean |
evaluate(int op1,
long op2)
This fonction evaluate the comaparison between two numerics variables; |
boolean |
evaluate(int op1,
short op2)
This fonction evaluate the comaparison between two numerics variables; |
boolean |
evaluate(long op1,
double op2)
This fonction evaluate the comaparison between two numerics variables; |
boolean |
evaluate(long op1,
float op2)
This fonction evaluate the comaparison between two numerics variables; |
boolean |
evaluate(long op1,
int op2)
This fonction evaluate the comaparison between two numerics variables; |
boolean |
evaluate(long op1,
long op2)
This fonction evaluate the comaparison between two long variable; |
boolean |
evaluate(long op1,
short op2)
This fonction evaluate the comaparison between two numerics variables; |
boolean |
evaluate(java.lang.Object op1,
java.lang.Object op2)
This fonction evaluate the comaparison between two java Object ; |
boolean |
evaluate(java.lang.String op1,
java.lang.String op2)
This fonction evaluate the comaparison between two string variable; |
Methods inherited from interface org.objectweb.medor.expression.api.BinaryOperator |
getLeftExpression, getRightExpression, setLeftExpression, setRightExpression |
Methods inherited from interface org.objectweb.medor.expression.api.Operator |
getExpression, getOperandNumber, getOperatorString, setExpression |
Methods inherited from interface org.objectweb.medor.expression.api.Expression |
compileExpression, evaluate, getType |
Methods inherited from interface org.objectweb.medor.clone.api.Cloneable |
clone |
Method Detail |
public boolean evaluate(java.lang.Object op1, java.lang.Object op2)
op1
- Objectop2
- Object
public boolean evaluate(int op1, int op2)
op1
- intop2
- int
public boolean evaluate(int op1, short op2)
op1
- intop2
- short
public boolean evaluate(int op1, long op2)
op1
- intop2
- long
public boolean evaluate(int op1, float op2)
op1
- intop2
- float
public boolean evaluate(int op1, double op2)
op1
- intop2
- double
public boolean evaluate(float op1, float op2)
op1
- floatop2
- float
public boolean evaluate(float op1, short op2)
op1
- floatop2
- short
public boolean evaluate(float op1, int op2)
op1
- floatop2
- int
public boolean evaluate(float op1, long op2)
op1
- floatop2
- long
public boolean evaluate(float op1, double op2)
op1
- floatop2
- double
public boolean evaluate(char op1, char op2)
op1
- charop2
- char
public boolean evaluate(long op1, long op2)
op1
- longop2
- long
public boolean evaluate(long op1, short op2)
op1
- longop2
- short
public boolean evaluate(long op1, int op2)
op1
- longop2
- int
public boolean evaluate(long op1, float op2)
op1
- longop2
- float
public boolean evaluate(long op1, double op2)
op1
- longop2
- double
public boolean evaluate(double op1, double op2)
op1
- doubleop2
- double
public boolean evaluate(double op1, short op2)
op1
- doubleop2
- short
public boolean evaluate(double op1, int op2)
op1
- doubleop2
- int
public boolean evaluate(double op1, float op2)
op1
- doubleop2
- float
public boolean evaluate(double op1, long op2)
op1
- doubleop2
- long
public boolean evaluate(java.lang.String op1, java.lang.String op2)
op1
- Stringop2
- String
public boolean evaluate(boolean op1, boolean op2)
op1
- booleanop2
- boolean
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |