|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmaspack.util.DataBuffer
artisynth.core.modelbase.NumericState
public class NumericState
Constructor Summary | |
---|---|
NumericState()
|
|
NumericState(int dcap,
int zcap)
|
|
NumericState(int dcap,
int zcap,
int ocap)
|
Method Summary | |
---|---|
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. |
Methods inherited from class maspack.util.DataBuffer |
---|
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, zskip |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NumericState()
public NumericState(int dcap, int zcap)
public NumericState(int dcap, int zcap, int ocap)
Method Detail |
---|
public void writeBinary(java.io.DataOutputStream dos) throws java.io.IOException
ComponentState
writeBinary
in interface ComponentState
dos
- output stream to write model to
java.io.IOException
- if an I/O error occurredpublic void readBinary(java.io.DataInputStream dis) throws java.io.IOException
ComponentState
readBinary
in interface ComponentState
dis
- input stream to read model from
java.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)
ComponentState
set
in interface ComponentState
state
- state object to copypublic boolean equals(ComponentState state)
equals
in interface ComponentState
state
- state to compare topublic ComponentState duplicate()
ComponentState
duplicate
in interface ComponentState
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |