org.objectweb.medor.expression.lib
Class Bitwize
java.lang.Object
org.objectweb.medor.clone.lib.BasicCloneable
org.objectweb.medor.expression.lib.BasicExpression
org.objectweb.medor.expression.lib.BasicOperator
org.objectweb.medor.expression.lib.BasicUnaryOperator
org.objectweb.medor.expression.lib.BasicUnaryArithmeticOperator
org.objectweb.medor.expression.lib.Bitwize
- All Implemented Interfaces:
- org.objectweb.medor.clone.api.Cloneable, java.lang.Cloneable, Expression, Operator, java.io.Serializable, UnaryArithmeticOperator, UnaryOperator
- public class Bitwize
- extends BasicUnaryArithmeticOperator
- See Also:
- Serialized Form
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 |
int |
evaluate(byte op)
This fonction evaluate the comaparison between two numerics variables; |
double |
evaluate(double op)
This fonction evaluate the comaparison between two numerics variables; |
float |
evaluate(float op)
This fonction evaluate the comaparison between two numerics variables; |
int |
evaluate(int op)
This fonction evaluate the comaparison between two numerics variables; |
long |
evaluate(long op)
This fonction evaluate the comaparison between two numerics variables; |
int |
evaluate(short op)
This fonction evaluate the comaparison between two numerics variables; |
java.lang.String |
getOperatorString()
Returns the String representing the operator in Java |
Methods inherited from class org.objectweb.medor.clone.lib.BasicCloneable |
clone, clone, getClone |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.objectweb.medor.expression.api.Expression |
getType |
Methods inherited from interface org.objectweb.medor.clone.api.Cloneable |
clone |
Bitwize
public Bitwize()
Bitwize
public Bitwize(Expression e)
evaluate
public int evaluate(int op)
- Description copied from interface:
UnaryArithmeticOperator
- This fonction evaluate the comaparison between two numerics variables;
- Parameters:
op
- : int
- Returns:
- an int result as in Java programming language
evaluate
public int evaluate(short op)
throws TypingException
- Description copied from interface:
UnaryArithmeticOperator
- This fonction evaluate the comaparison between two numerics variables;
- Parameters:
op
- : short
- Returns:
- a short result as in Java programming language
- Throws:
TypingException
evaluate
public long evaluate(long op)
throws TypingException
- Description copied from interface:
UnaryArithmeticOperator
- This fonction evaluate the comaparison between two numerics variables;
- Parameters:
op
- : long
- Returns:
- a long result as in Java programming language
- Throws:
TypingException
evaluate
public float evaluate(float op)
throws TypingException
- Description copied from interface:
UnaryArithmeticOperator
- This fonction evaluate the comaparison between two numerics variables;
- Parameters:
op
- : float
- Returns:
- a float result as in Java programming language
- Throws:
TypingException
evaluate
public int evaluate(byte op)
throws TypingException
- Description copied from interface:
UnaryArithmeticOperator
- This fonction evaluate the comaparison between two numerics variables;
- Parameters:
op
- : byte
- Returns:
- an byte result as in Java programming language
- Throws:
TypingException
evaluate
public double evaluate(double op)
throws TypingException
- Description copied from interface:
UnaryArithmeticOperator
- This fonction evaluate the comaparison between two numerics variables;
- Parameters:
op
- : double
- Returns:
- a double result as in Java programming language
- Throws:
TypingException
getOperatorString
public java.lang.String getOperatorString()
- Description copied from interface:
Operator
- Returns the String representing the operator in Java
- Returns:
- the String representing the operator in Java