|
Voyager ORB | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.objectspace.voyager.corba.Any
An instance of Any represents a single arbitrary CORBA value.
Constructor Summary | |
Any()
Construct myself with no object or typecode. |
|
Any(java.lang.Object value)
|
Method Summary | |
boolean |
equals(java.lang.Object object)
Return true if the specified object is an Any whose value equals my own. |
boolean |
getBoolean()
Return my boolean value. |
char |
getChar()
Return my char value. |
double |
getDouble()
Return my double value. |
float |
getFloat()
Return my float value. |
int |
getLong()
Return my long value. |
java.lang.Object |
getObject()
Return my Object value. |
byte |
getOctet()
Return my byte value. |
short |
getShort()
Return my short value. |
java.lang.String |
getString()
Return my String value. |
int |
hashCode()
|
void |
setBoolean(boolean value)
Set my value to the specified boolean. |
void |
setChar(char value)
Set my value to the specified char. |
void |
setDouble(double value)
Set my value to the specified double. |
void |
setFloat(float value)
Set my value to the specified float. |
void |
setLong(int value)
Set my value to the specified int. |
void |
setLongLong(long value)
Set my value to the specified long. |
void |
setObject(java.lang.Object value)
Set my value to the specified Object. |
void |
setOctet(byte value)
Set my value to the specified byte. |
void |
setShort(short value)
Set my value to the specified short. |
void |
setString(java.lang.String value)
Set my value to the specified String. |
java.lang.String |
toString()
Return a string that describes me. |
TypeCode |
type()
Return the typecode of my value. |
Methods inherited from class java.lang.Object |
clone,
finalize,
getClass,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public Any()
public Any(java.lang.Object value)
Method Detail |
public java.lang.String toString()
public boolean equals(java.lang.Object object)
object
- The object to compare against.public int hashCode()
public TypeCode type()
public void setBoolean(boolean value)
value
- My new value.public void setOctet(byte value)
value
- My new value.public void setChar(char value)
value
- My new value.public void setShort(short value)
value
- My new value.public void setLong(int value)
value
- My new value.public void setLongLong(long value)
value
- My new value.public void setFloat(float value)
value
- My new value.public void setDouble(double value)
value
- My new value.public void setString(java.lang.String value)
value
- My new value.public void setObject(java.lang.Object value)
value
- My new value.public boolean getBoolean()
public byte getOctet()
public char getChar()
public short getShort()
public int getLong()
public float getFloat()
public double getDouble()
public java.lang.String getString()
public java.lang.Object getObject()
|
ObjectSpace Inc. | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |