org.objectweb.medor.filter.lib
Class Bitwize
java.lang.Object
|
+--org.objectweb.medor.filter.lib.BasicUnaryOperator
|
+--org.objectweb.medor.filter.lib.BasicUnaryArithmeticOperator
|
+--org.objectweb.medor.filter.lib.Bitwize
- All Implemented Interfaces:
- Cloneable, java.lang.Cloneable, Expression, Operator, UnaryArithmeticOperator, UnaryOperator
- public class Bitwize
- extends BasicUnaryArithmeticOperator
Fields inherited from interface org.objectweb.medor.filter.api.Operator |
ABS, AND, BITWIZE, CONCAT, CONDAND, CONDOR, DIV, EQUAL, FIRSTLOCATE, GREATER, GREATEREQUAL, IN, INDEXEDLOCATE, LENGTH, LOWER, LOWEREQUAL, MEMBEROF, MINUS, MULT, NAV, NOT, NOTEQUAL, NOTMEMBEROF, OR, PLUS, SQRT, SUBSTRING, 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 java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.objectweb.medor.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;
- Specified by:
evaluate
in interface UnaryArithmeticOperator
- Specified by:
evaluate
in class BasicUnaryArithmeticOperator
- 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;
- Specified by:
evaluate
in interface UnaryArithmeticOperator
- Specified by:
evaluate
in class BasicUnaryArithmeticOperator
- Parameters:
op
- : short
- Returns:
- a short result as in Java programming language
TypingException
evaluate
public long evaluate(long op)
throws TypingException
- Description copied from interface:
UnaryArithmeticOperator
- This fonction evaluate the comaparison between two numerics variables;
- Specified by:
evaluate
in interface UnaryArithmeticOperator
- Specified by:
evaluate
in class BasicUnaryArithmeticOperator
- Parameters:
op
- : long
- Returns:
- a long result as in Java programming language
TypingException
evaluate
public float evaluate(float op)
throws TypingException
- Description copied from interface:
UnaryArithmeticOperator
- This fonction evaluate the comaparison between two numerics variables;
- Specified by:
evaluate
in interface UnaryArithmeticOperator
- Specified by:
evaluate
in class BasicUnaryArithmeticOperator
- Parameters:
op
- : float
- Returns:
- a float result as in Java programming language
TypingException
evaluate
public int evaluate(byte op)
throws TypingException
- Description copied from interface:
UnaryArithmeticOperator
- This fonction evaluate the comaparison between two numerics variables;
- Specified by:
evaluate
in interface UnaryArithmeticOperator
- Specified by:
evaluate
in class BasicUnaryArithmeticOperator
- Parameters:
op
- : byte
- Returns:
- an byte result as in Java programming language
TypingException
evaluate
public double evaluate(double op)
throws TypingException
- Description copied from interface:
UnaryArithmeticOperator
- This fonction evaluate the comaparison between two numerics variables;
- Specified by:
evaluate
in interface UnaryArithmeticOperator
- Specified by:
evaluate
in class BasicUnaryArithmeticOperator
- Parameters:
op
- : double
- Returns:
- a double result as in Java programming language
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