org.netbeans.microedition.databinding.el
Class ELUtils

java.lang.Object
  extended by org.netbeans.microedition.databinding.el.ELUtils

public class ELUtils
extends java.lang.Object


Field Summary
static int OPERATOR_DIVIDE
           
static int OPERATOR_EMPTY
           
static int OPERATOR_EQUAL
           
static int OPERATOR_GE
           
static int OPERATOR_GT
           
static int OPERATOR_LE
           
static int OPERATOR_LT
           
static int OPERATOR_MINUS
           
static int OPERATOR_MODULUS
           
static int OPERATOR_MULTIPLY
           
static int OPERATOR_NON_EQUAL
           
static int OPERATOR_PLUS
           
static int OPERATOR_UNARY_MINUS
           
static int OPERATOR_UNARY_NOT
           
 
Constructor Summary
ELUtils()
           
 
Method Summary
static java.lang.Object applyArithmeticOperator(java.lang.Object value1, java.lang.Object value2, int operator)
           
static boolean applyEqualityOperator(java.lang.Object value1, java.lang.Object value2, int operator)
           
static boolean applyRelationalOperator(java.lang.Object value1, java.lang.Object value2, int operator)
           
static java.lang.Object applyUnaryOperation(java.lang.Object value, int operator)
           
static boolean coerceToBoolean(java.lang.Object object)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OPERATOR_EQUAL

public static final int OPERATOR_EQUAL
See Also:
Constant Field Values

OPERATOR_NON_EQUAL

public static final int OPERATOR_NON_EQUAL
See Also:
Constant Field Values

OPERATOR_LT

public static final int OPERATOR_LT
See Also:
Constant Field Values

OPERATOR_GT

public static final int OPERATOR_GT
See Also:
Constant Field Values

OPERATOR_GE

public static final int OPERATOR_GE
See Also:
Constant Field Values

OPERATOR_LE

public static final int OPERATOR_LE
See Also:
Constant Field Values

OPERATOR_PLUS

public static final int OPERATOR_PLUS
See Also:
Constant Field Values

OPERATOR_MINUS

public static final int OPERATOR_MINUS
See Also:
Constant Field Values

OPERATOR_MULTIPLY

public static final int OPERATOR_MULTIPLY
See Also:
Constant Field Values

OPERATOR_DIVIDE

public static final int OPERATOR_DIVIDE
See Also:
Constant Field Values

OPERATOR_MODULUS

public static final int OPERATOR_MODULUS
See Also:
Constant Field Values

OPERATOR_UNARY_NOT

public static final int OPERATOR_UNARY_NOT
See Also:
Constant Field Values

OPERATOR_UNARY_MINUS

public static final int OPERATOR_UNARY_MINUS
See Also:
Constant Field Values

OPERATOR_EMPTY

public static final int OPERATOR_EMPTY
See Also:
Constant Field Values
Constructor Detail

ELUtils

public ELUtils()
Method Detail

coerceToBoolean

public static boolean coerceToBoolean(java.lang.Object object)

applyEqualityOperator

public static boolean applyEqualityOperator(java.lang.Object value1,
                                            java.lang.Object value2,
                                            int operator)

applyRelationalOperator

public static boolean applyRelationalOperator(java.lang.Object value1,
                                              java.lang.Object value2,
                                              int operator)

applyArithmeticOperator

public static java.lang.Object applyArithmeticOperator(java.lang.Object value1,
                                                       java.lang.Object value2,
                                                       int operator)

applyUnaryOperation

public static java.lang.Object applyUnaryOperation(java.lang.Object value,
                                                   int operator)