Class Terminal
java.lang.Object
com.sun.tools.corba.ee.idl.constExpr.Expression
com.sun.tools.corba.ee.idl.constExpr.Terminal
This class contains values. Objects of this class are the terminal
nodes of an expression tree.
Note that there is a constructor for Double values, but not Float.
CORBA defines that all floating point expressions are evaluated as
double, and that the result is coerced back to float if necessary.
Note also that there is a constructor for long values, but not for
int or short. CORBA defines that all integral expressions are evaluated
as unsigned long. A CORBA long is a Java int. There is no unsigned int
in Java, so the next larger type, long, is used.
-
Field Summary
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedTerminal(ConstEntry constReference) protectedprotectedprotectedprotectedprotectedprotectedTerminal(String representation, BigInteger bigIntegerValue) -
Method Summary
Methods inherited from class Expression
coerceToTarget, defaultType, rep, rep, toSignedTarget, toUnsigned, toUnsignedTarget, type, type, value, value
-
Constructor Details
-
Terminal
-
Terminal
-
Terminal
-
Terminal
-
Terminal
-
Terminal
-
Terminal
-
-
Method Details
-
evaluate
// INSTANCE METHODS- Specified by:
evaluatein classExpression- Throws:
EvaluationException
-