public class NumericState extends DataBuffer implements ComponentState
| Constructor and Description | 
|---|
| NumericState() | 
| NumericState(int dcap,
            int zcap) | 
| NumericState(int dcap,
            int zcap,
            int ocap) | 
| Modifier and Type | Method and Description | 
|---|---|
| ComponentState | duplicate()Create a duplicate of this state which can be used for storing this
 state's values. | 
| boolean | equals(ComponentState state)Returns true if this state equals another component state. | 
| void | readBinary(java.io.DataInputStream dis)Read this state (in binary format) from a data input stream. | 
| void | set(ComponentState state)Sets this state by copying the value from an existing state object. | 
| void | set(NumericState state) | 
| void | writeBinary(java.io.DataOutputStream dos)Writes this state (in binary format) to a data output stream. | 
clear, dbuffer, dEnsureCapacity, dequals, dget, doffset, dpeek, dpeek, dput, dset, dsetOffset, dsetSize, dsize, dskip, equals, equals, obuffer, oEnsureCapacity, oequals, oget, ooffset, opeek, opeek, oput, oputs, oset, osetOffset, osetSize, osize, oskip, putData, resetOffsets, set, setBuffersAndOffsets, setSize, zbuffer, zEnsureCapacity, zequals, zget, zoffset, zpeek, zpeek, zput, zset, zsetOffset, zsetSize, zsize, zskippublic NumericState()
public NumericState(int dcap,
                    int zcap)
public NumericState(int dcap,
                    int zcap,
                    int ocap)
public void writeBinary(java.io.DataOutputStream dos)
                 throws java.io.IOException
ComponentStatewriteBinary in interface ComponentStatedos - output stream to write model tojava.io.IOException - if an I/O error occurredpublic void readBinary(java.io.DataInputStream dis)
                throws java.io.IOException
ComponentStatereadBinary in interface ComponentStatedis - input stream to read model fromjava.io.IOException - if an I/O error occurred or if the input is incompatible with the current
 state configuration.public void set(NumericState state)
public void set(ComponentState state)
ComponentStateset in interface ComponentStatestate - state object to copypublic boolean equals(ComponentState state)
equals in interface ComponentStatestate - state to compare topublic ComponentState duplicate()
ComponentStateduplicate in interface ComponentState