Declaration
public class JIDLInteger implements JIDLNumber, java.io.Serializable
java.lang.Object
|
+--com.idl.javaidl.JIDLInteger
All Implemented Interfaces:
JIDLNumber, java.io.Serializable
Description
The JIDLInteger class wraps an int as a mutable object usable by the Java-IDL Export bridge.
Member Summary
Constructors
JIDLInteger(int value)
Construct a wrapper object.
JIDLInteger(JIDLNumber value)
Construct a wrapper object.
Methods
boolean
booleanValue()
Return the value of the wrapped primitive.
byte
byteValue()
Return the value of the wrapped primitive
char
charValue()
Return the value of the wrapped primitive
double
doubleValue()
Return the value of the wrapped primitive
float
floatValue()
Return the value of the wrapped primitive
int
intValue()
Return the value of the wrapped primitive
long
longValue()
Return the value of the wrapped primitive
void
setValue(int value)
Change the value of the wrapper object
void
setValue(JIDLNumber value)
Change the value of the wrapper object
short
shortValue()
Return the value of the wrapped primitive
java.lang.String
toString()
Return the value of the wrapped primitive
Inherited Member Summary
Methods inherited from class Object
equals(Object), getClass(), hashCode(), notify(), notifyAll(), wait(long, int), wait(long, int), wait(long, int)
Constructors
JIDLInteger(int)
public JIDLInteger(int value)
Construct a wrapper object.
Parameters:
value - value to wrap for use in the export bridge
JIDLInteger(JIDLNumber)
public JIDLInteger(com.idl.javaidl.JIDLNumber value)
Construct a wrapper object.
Parameters:
value - JIDLNumber to wrap for use in the export bridge
Methods
booleanValue()
public boolean booleanValue()
Return the value of the wrapped primitive.
Specified By:
booleanValue in interface JIDLNumber
Returns:
true if non-zero, false otherwise
byteValue()
public byte byteValue()
Return the value of the wrapped primitive
Specified By:
byteValue in interface JIDLNumber
Returns:
value that is wrapped by this object
charValue()
public char charValue()
Return the value of the wrapped primitive.
Specified By:
charValue in interface JIDLNumber
Returns:
value that is wrapped by this object
doubleValue()
public double doubleValue()
Return the value of the wrapped primitive.
Specified By:
doubleValue in interface JIDLNumber
Returns:
value that is wrapped by this object
floatValue()
public float floatValue()
Return the value of the wrapped primitive.
Specified By:
floatValue in interface JIDLNumber
Returns:
value that is wrapped by this object
intValue()
public int intValue()
Return the value of the wrapped primitive.
Specified By:
intValue in interface JIDLNumber
Returns:
value that is wrapped by this object
longValue()
public long longValue()
Return the value of the wrapped primitive.
Specified By:
longValue in interface JIDLNumber
Returns:
value that is wrapped by this object
setValue(int)
public void setValue(int value)
Change the value of the wrapper object
Parameters:
value - primitive value to wrap for use in the export bridge
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
shortValue()
public short shortValue()
Return the value of the wrapped primitive
Specified By:
shortValue in interface JIDLNumber
Returns:
value that is wrapped by this object
toString()
public java.lang.String toString()
Return the value of the wrapped primitive
Overrides:
toString in class Object, value that is wrapped by this object