JIDLShort
Declaration
public class JIDLShort implements JIDLNumber,java.io.Serializablejava.lang.Object| +--com.idl.javaidl.JIDLShort
All Implemented Interfaces:
JIDLNumber, java.io.Serializable
Description
The JIDLShort class wraps a short as a mutable object usable by the Java-IDL Export bridge.
Constructors
JIDLShort(JIDLNumber)
public JIDLShort(com.idl.javaidl.JIDLNumber value)
Construct a wrapper object.
Parameters:
value - JIDLNumber to wrap for use in the export bridge
JIDLShort(short)
Construct a wrapper object.
Parameters:
value - value to wrap for use in the export bridge
Methods
booleanValue()
Return the value of the wrapped primitive.
Specified By:
booleanValue in interface JIDLNumber
Returns:
true if non-zero, false otherwise
byteValue()
Return the value of the wrapped primitive
Specified By:
byteValue in interface JIDLNumber
Returns:
value that is wrapped by this object
charValue()
Return the value of the wrapped primitive
Specified By:
charValue in interface JIDLNumber
Returns:
value that is wrapped by this object
doubleValue()
Return the value of the wrapped primitive
Specified By:
doubleValue in interface JIDLNumber
Returns:
value that is wrapped by this object
floatValue()
Return the value of the wrapped primitive
Specified By:
floatValue in interface JIDLNumber
Returns:
value that is wrapped by this object
intValue()
Return the value of the wrapped primitive
Specified By:
intValue in interface JIDLNumber
Returns:
value that is wrapped by this object
longValue()
Return the value of the wrapped primitive
Specified By:
longValue in interface JIDLNumber
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
Specified By:
setValue in interface JIDLNumber
Parameters:
value - JIDLNumber to wrap for use in the export bridge
setValue(short)
Change the value of the wrapper object
Parameters:
value - primitive value to wrap for use in the export bridge
shortValue()
Return the value of the wrapped primitive
Specified By:
shortValue in interface JIDLNumber
Returns:
value that is wrapped by this object
toString()
Overrides:
toString in class Object