public final class StateHolder extends java.lang.Object implements Streamable
| Constructor and Description |
|---|
StateHolder()
Default constructor
|
StateHolder(State initial)
Constructor with value initialisation
|
| Modifier and Type | Method and Description |
|---|---|
void |
_read(InputStream istream)
Read State from a marshalled stream
|
TypeCode |
_type()
Return the State TypeCode
|
void |
_write(OutputStream ostream)
Write State into a marshalled stream
|
public State value
public StateHolder()
public StateHolder(State initial)
initial - the initial valuepublic void _read(InputStream istream)
_read in interface Streamableistream - the input streampublic void _write(OutputStream ostream)
_write in interface Streamableostream - the output streampublic TypeCode _type()
_type in interface Streamable