public class ValueBaseHolder extends Object implements Streamable
ValueBase that is handled as
Serializable here.| Modifier and Type | Field and Description |
|---|---|
Serializable |
value
A stored value of the value base type.
|
| Constructor and Description |
|---|
ValueBaseHolder()
Create an unitialised instance.
|
ValueBaseHolder(Serializable initial)
Create an instance, initialised into the given value.
|
| Modifier and Type | Method and Description |
|---|---|
void |
_read(InputStream input)
Read fill in the value field by reading an instance from the
given input stream.
|
TypeCode |
_type()
Get the typecode of the stored instance.
|
void |
_write(OutputStream output)
Write the stored instance to the given output stream.
|
public Serializable value
public ValueBaseHolder()
public ValueBaseHolder(Serializable initial)
initial - an initial value.public void _read(InputStream input)
ValueBaseHelper_read in interface Streamableinput - a stream to read from.public TypeCode _type()
ValueBaseHelper_type in interface Streamablepublic void _write(OutputStream output)
ValueBaseHelper_write in interface Streamableoutput - a stream to write to.