|
Préférences
Moteurs de recherche
|
||||||||||||||||||||
JavaTM 2 Platform Std. Ed. v1.5.0
org.omg.CORBA
|
Field Summary | |
---|---|
long |
value
The long value held by this LongHolder
object. |
Constructor Summary | |
---|---|
LongHolder()
Constructs a new LongHolder object with its
value field initialized to 0 . |
|
LongHolder(long initial)
Constructs a new LongHolder object with its
value field initialized to the given
long . |
Method Summary | |
---|---|
void |
_read(InputStream input)
Reads from input and initalizes the value in the Holder
with the unmarshalled data. |
TypeCode |
_type()
Returns the TypeCode object
corresponding to the value held in the Holder. |
void |
_write(OutputStream output)
Marshals to output the value in the Holder. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public long value
long
value held by this LongHolder
object.
Constructor Detail |
---|
public LongHolder()
LongHolder
object with its
value
field initialized to 0
.
public LongHolder(long initial)
LongHolder
object with its
value
field initialized to the given
long
.
initial
- the long
with which to initialize
the value
field of the newly-created
LongHolder
objectMethod Detail |
---|
public void _read(InputStream input)
input
and initalizes the value in the Holder
with the unmarshalled data.
_read
in interface Streamable
input
- the InputStream containing CDR formatted data from the wirepublic void _write(OutputStream output)
output
the value in the Holder.
_write
in interface Streamable
output
- the OutputStream which will contain the CDR formatted datapublic TypeCode _type()
TypeCode
object
corresponding to the value held in the Holder.
_type
in interface Streamable