This interface represents a binary arithmetic operation (+, -, ...).
It gives methods for a binary evaluation with all valid cases.
These binary evaluate methods are called by the generic
evaluate(ParameterOperand[], Object) method, depending on the types of the
left and right Operands.
evaluate
public Date evaluate(Date op1,
Date op2)
throws TypingException
This fonction evaluate the comaparison between two java.util.Date variable;
op1
- Dateop2
- Date
- a Date value as in java programming language
TypingException
- if this operation is not supported
evaluate
public String evaluate(String op1,
String op2)
throws TypingException
This fonction evaluate the comaparison between two string variable;
op1
- Stringop2
- String
- a string value as in java programming language
TypingException
- if this operation is not supported
evaluate
public String evaluate(String op1,
char op2)
throws TypingException
This fonction evaluate the comaparison between two string variable;
op1
- Stringop2
- char
- a string value as in java programming language
TypingException
- if this operation is not supported
evaluate
public String evaluate(char op1,
String op2)
throws TypingException
This fonction evaluate the comaparison between two characters variable;
op1
- charop2
- string
- a string value
TypingException
- if this operation is not supported
evaluate
public int evaluate(char op1,
char op2)
throws TypingException
This fonction evaluate the comaparison between two characters variable;
op1
- characterop2
- character
- an int value
evaluate
public double evaluate(double op1,
double op2)
This fonction evaluate the comaparison between two double variable;
op1
- doubleop2
- double
- a double result as in Java programming language
evaluate
public double evaluate(double op1,
float op2)
This fonction evaluate the comaparison between two numerics variables;
op1
- doubleop2
- float
- a double result as in Java programming language
evaluate
public double evaluate(double op1,
int op2)
This fonction evaluate the comaparison between two numerics variables;
op1
- doubleop2
- int
- a double result as in Java programming language
evaluate
public double evaluate(double op1,
long op2)
This fonction evaluate the comaparison between two numerics variables;
op1
- doubleop2
- long
- a double result as in Java programming language
evaluate
public double evaluate(double op1,
short op2)
This fonction evaluate the comaparison between two numerics variables;
op1
- doubleop2
- short
- a double result as in Java programming language
evaluate
public double evaluate(float op1,
double op2)
This fonction evaluate the comaparison between two numerics variables;
op1
- floatop2
- double
- a double result as in Java programming language
evaluate
public float evaluate(float op1,
float op2)
This fonction evaluate the comaparison between two floats variables;
op1
- floatop2
- float
- a float resultas in Java programming language
evaluate
public float evaluate(float op1,
int op2)
This fonction evaluate the comaparison between two numerics variables;
op1
- floatop2
- int
- a float result as in Java programming language
evaluate
public float evaluate(float op1,
long op2)
This fonction evaluate the comaparison between two numerics variables;
op1
- floatop2
- long
- a float result as in Java programming language
evaluate
public float evaluate(float op1,
short op2)
This fonction evaluate the comaparison between two numerics variables;
op1
- floatop2
- short
- a float result as in Java programming language
evaluate
public double evaluate(int op1,
double op2)
This fonction evaluate the comaparison between two numerics variables;
op1
- intop2
- double
- a double as in Java programming language
evaluate
public float evaluate(int op1,
float op2)
This fonction evaluate the comaparison between two numerics variables;
op1
- intop2
- float
- a float result as in Java programming language
evaluate
public int evaluate(int op1,
int op2)
This fonction evaluate the arithmetic operation between two numerics
variables;
op1
- integerop2
- integer
- an integer result
evaluate
public long evaluate(int op1,
long op2)
This fonction evaluate the comaparison between two numerics variables;
op1
- intop2
- long
- a long result as in Java programming language
evaluate
public int evaluate(int op1,
short op2)
This fonction evaluate the comaparison between two numerics variables;
op1
- intop2
- short
- an int as in Java programming language
evaluate
public double evaluate(long op1,
double op2)
This fonction evaluate the comaparison between two numerics variables;
op1
- longop2
- double
- a double result as in Java programming language
evaluate
public float evaluate(long op1,
float op2)
This fonction evaluate the comaparison between two numerics variables;
op1
- longop2
- float
- a float result as in Java programming language
evaluate
public long evaluate(long op1,
int op2)
This fonction evaluate the comaparison between two numerics variables;
op1
- longop2
- int
- a long result as in Java programming language
evaluate
public long evaluate(long op1,
long op2)
This fonction evaluate the comaparison between two long variable;
op1
- longop2
- long
- a long result as in Java programming language
evaluate
public long evaluate(long op1,
short op2)
This fonction evaluate the comaparison between two numerics variables;
op1
- longop2
- short
- a long result as in Java programming language