JIDLNumber
Declaration
All Known Implementing Classes:
JIDLShort, JIDLLong, JIDLInteger, JIDLFloat, JIDLDouble, JIDLChar, JIDLByte, JIDLBoolean
Description
The JIDLNumber class wraps a primitive java number as a mutable object usable by the Java-IDL Export bridge.
Methods
booleanValue()
Return the value of the wrapped primitive.
Returns:
true if non-zero, false otherwise
byteValue()
Return the value of the wrapped primitive.
Returns:
value that is wrapped by this object
charValue()
Return the value of the wrapped primitive.
Returns:
value that is wrapped by this object
doubleValue()
Return the value of the wrapped primitive.
Returns:
value that is wrapped by this object
floatValue()
Return the value of the wrapped primitive.
Returns:
value that is wrapped by this object
intValue()
Return the value of the wrapped primitive.
Returns:
value that is wrapped by this object
longValue()
Return the value of the wrapped primitive.
Returns:
value that is wrapped by this object
setValue(JIDLNumber)
public void setValue(com.idl.javaidl.JIDLNumber value)
Change the value of the wrapper object
Parameters:
value - JIDLNumber to wrap for use in the export bridge
shortValue()
Return the value of the wrapped primitive.
Returns:
value that is wrapped by this object