This interface represents a mathematical comparator. Comparators are:
> <32<= >= !=. the 'evaluate' methods do the comparison betwwen
different type of variables: int, char, boolean,...
evaluate
public boolean evaluate(Object op1,
Object op2) This fonction evaluate the comaparison between two java Object ;
op1 - Objectop2 - Object
- true if the comparison is verified
evaluate
public boolean evaluate(String op1,
String op2) This fonction evaluate the comaparison between two string variable;
op1 - Stringop2 - String
- true if the comparison is verified
evaluate
public boolean evaluate(boolean op1,
boolean op2) This fonction evaluate the comaparison between two boolean variable;
op1 - booleanop2 - boolean
- true if the comparison is verified; in case of <, > compartor
it always return false
evaluate
public boolean evaluate(char op1,
char op2) This fonction evaluate the comaparison between two characters variable;
op1 - charop2 - char
- true if the comparison is verified
evaluate
public boolean evaluate(double op1,
double op2) This fonction evaluate the comaparison between two double variable;
op1 - doubleop2 - double
- true if the comparison is verified
evaluate
public boolean evaluate(double op1,
float op2) This fonction evaluate the comaparison between two numerics variables;
op1 - doubleop2 - float
- true if the comparison is verified
evaluate
public boolean evaluate(double op1,
int op2) This fonction evaluate the comaparison between two numerics variables;
op1 - doubleop2 - int
- true if the comparison is verified
evaluate
public boolean evaluate(double op1,
long op2) This fonction evaluate the comaparison between two numerics variables;
op1 - doubleop2 - long
- true if the comparison is verified
evaluate
public boolean evaluate(double op1,
short op2) This fonction evaluate the comaparison between two numerics variables;
op1 - doubleop2 - short
- true if the comparison is verified
evaluate
public boolean evaluate(float op1,
double op2) This fonction evaluate the comaparison between two numerics variables;
op1 - floatop2 - double
- true if the comparison is verified
evaluate
public boolean evaluate(float op1,
float op2) This fonction evaluate the comaparison between two floats variables;
op1 - floatop2 - float
- true if the comparison is verified
evaluate
public boolean evaluate(float op1,
int op2) This fonction evaluate the comaparison between two numerics variables;
op1 - floatop2 - int
- true if the comparison is verified
evaluate
public boolean evaluate(float op1,
long op2) This fonction evaluate the comaparison between two numerics variables;
op1 - floatop2 - long
- true if the comparison is verified
evaluate
public boolean evaluate(float op1,
short op2) This fonction evaluate the comaparison between two numerics variables;
op1 - floatop2 - short
- true if the comparison is verified
evaluate
public boolean evaluate(int op1,
double op2) This fonction evaluate the comaparison between two numerics variables;
op1 - intop2 - double
- true if the comparison is verified
evaluate
public boolean evaluate(int op1,
float op2) This fonction evaluate the comaparison between two numerics variables;
op1 - intop2 - float
- true if the comparison is verified
evaluate
public boolean evaluate(int op1,
int op2) This fonction evaluate the comaparison between two numerics variables;
op1 - intop2 - int
- true if the comparison is verified
evaluate
public boolean evaluate(int op1,
long op2) This fonction evaluate the comaparison between two numerics variables;
op1 - intop2 - long
- true if the comparison is verified
evaluate
public boolean evaluate(int op1,
short op2) This fonction evaluate the comaparison between two numerics variables;
op1 - intop2 - short
- true if the comparison is verified
evaluate
public boolean evaluate(long op1,
double op2) This fonction evaluate the comaparison between two numerics variables;
op1 - longop2 - double
- true if the comparison is verified
evaluate
public boolean evaluate(long op1,
float op2) This fonction evaluate the comaparison between two numerics variables;
op1 - longop2 - float
- true if the comparison is verified
evaluate
public boolean evaluate(long op1,
int op2) This fonction evaluate the comaparison between two numerics variables;
op1 - longop2 - int
- true if the comparison is verified
evaluate
public boolean evaluate(long op1,
long op2) This fonction evaluate the comaparison between two long variable;
op1 - longop2 - long
- true if the comparison is verified
evaluate
public boolean evaluate(long op1,
short op2) This fonction evaluate the comaparison between two numerics variables;
op1 - longop2 - short
- true if the comparison is verified