| java.lang.Object org.onemind.jxp.Evaluator
Evaluator | final public class Evaluator (Code) | | The evaluator implements several arithmetic operations on objects
author: TiongHiang Lee (thlee@onemindsoft.org) |
Method Summary | |
public static Object | bitwiseAnd(Object a1, Object a2) | public static Object | bitwiseComplement(Object o) | public static Object | bitwiseOr(Object a1, Object a2) | public static Object | bitwiseXOr(Object a1, Object a2) | public static Object | divide(Object a1, Object a2) | public static Boolean | eq(Object a1, Object a2) | public static Boolean | ge(Object a1, Object a2) | public static Boolean | gt(Object a1, Object a2) | public static Boolean | le(Object a1, Object a2) | public static Object | leftShift(Object a1, Object a2) | public static Boolean | lt(Object a1, Object a2) | public static Object | minus(Object a1, Object a2) | public static Object | multiply(Object a1, Object a2) | public static Boolean | ne(Object a1, Object a2) | public static Object | negate(Object a1) | public static Object | plus(Object a1, Object a2) | public static Object | remainder(Object a1, Object a2) | public static Object | rightSignedShift(Object a1, Object a2) | public static Object | rightUnsignedShift(Object a1, Object a2) | public static Boolean | toBoolean(Object o) |
bitwiseAnd | public static Object bitwiseAnd(Object a1, Object a2)(Code) | | Bitwise-and operation
Parameters: a1 - the first arg Parameters: a2 - the second arg the result |
bitwiseComplement | public static Object bitwiseComplement(Object o)(Code) | | Bitwise complement operation
Parameters: o - the object the result |
bitwiseOr | public static Object bitwiseOr(Object a1, Object a2)(Code) | | Bitwise-or operation
Parameters: a1 - the first arg Parameters: a2 - the second arg the result |
bitwiseXOr | public static Object bitwiseXOr(Object a1, Object a2)(Code) | | Bitwise-XOR operation
Parameters: a1 - the first arg Parameters: a2 - the second arg the result |
divide | public static Object divide(Object a1, Object a2)(Code) | | Divide operation
Parameters: a1 - the first arg Parameters: a2 - the second arg the result |
eq | public static Boolean eq(Object a1, Object a2)(Code) | | Equality operation
Parameters: a1 - the first arg Parameters: a2 - the second arg the result |
ge | public static Boolean ge(Object a1, Object a2)(Code) | | Greater than or equal operation
Parameters: a1 - the first arg Parameters: a2 - the second arg the result |
gt | public static Boolean gt(Object a1, Object a2)(Code) | | Greater than operation
Parameters: a1 - the first arg Parameters: a2 - the second arg the result |
le | public static Boolean le(Object a1, Object a2)(Code) | | Less than or equal operation
Parameters: a1 - the first arg Parameters: a2 - the second arg the result |
leftShift | public static Object leftShift(Object a1, Object a2)(Code) | | Left-shift operation
Parameters: a1 - the first arg Parameters: a2 - the second arg the result |
lt | public static Boolean lt(Object a1, Object a2)(Code) | | Less than operation
Parameters: a1 - the first arg Parameters: a2 - the second arg the result |
minus | public static Object minus(Object a1, Object a2)(Code) | | Minus operation
Parameters: a1 - the first arg Parameters: a2 - the second arg the result |
multiply | public static Object multiply(Object a1, Object a2)(Code) | | Multiply operation
Parameters: a1 - the first arg Parameters: a2 - the second arg the result |
ne | public static Boolean ne(Object a1, Object a2)(Code) | | Inequality operation
Parameters: a1 - the first arg Parameters: a2 - the second arg the result |
negate | public static Object negate(Object a1)(Code) | | Negation operation
Parameters: a1 - the first arg the result |
plus | public static Object plus(Object a1, Object a2)(Code) | | Plus operation
Parameters: a1 - the first arg Parameters: a2 - the second arg the result |
remainder | public static Object remainder(Object a1, Object a2)(Code) | | Remainder operation
Parameters: a1 - the first arg Parameters: a2 - the second arg the result |
rightSignedShift | public static Object rightSignedShift(Object a1, Object a2)(Code) | | right-signed-shift operation
Parameters: a1 - the first arg Parameters: a2 - the second arg the result |
rightUnsignedShift | public static Object rightUnsignedShift(Object a1, Object a2)(Code) | | Right-unsigned-shift operation
Parameters: a1 - the first arg Parameters: a2 - the second arg the result |
toBoolean | public static Boolean toBoolean(Object o)(Code) | | Cast the given object to boolean type
Parameters: o - the object boolean type |
|
|