ch.javasoft.jsmat.variable
Class MatReservedStructure
java.lang.Object
ch.javasoft.jsmat.variable.MatVariable
ch.javasoft.jsmat.variable.MatReserved
ch.javasoft.jsmat.variable.MatReservedComplex
ch.javasoft.jsmat.variable.MatReservedStructure
public class MatReservedStructure
- extends MatReservedComplex
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MatReservedStructure
public MatReservedStructure(Map<String,? extends MatVariable> fields)
MatReservedStructure
public MatReservedStructure(Map<String,? extends MatVariable>[] fields,
int[] dims)
checkNoReservedWriter
protected void checkNoReservedWriter()
throws IOException
- Throws:
IOException
writeDataBlockStart
public void writeDataBlockStart(String name,
DataOutput out)
throws IOException
- Specified by:
writeDataBlockStart in class MatReserved
- Throws:
IOException
writeDataBlockEnd
public void writeDataBlockEnd(DataOutput out)
throws IOException
- Description copied from class:
MatReserved
- Called when the write process of the reserved variable is about to
complete, that is, when
ReservedWriter.close() is called.
- Specified by:
writeDataBlockEnd in class MatReserved
- Throws:
IOException- See Also:
MatReserved.writeDataBlockStart(String, DataOutput)
createReservedWriter
public <A> ReservedMatrixWriter<A> createReservedWriter(ReservedComplexWriter writer,
MatReservedMatrix<A> reservedMatrix)
throws IOException
- Specified by:
createReservedWriter in class MatReservedComplex
- Throws:
IOException
createReservedWriter
public ReservedWriter createReservedWriter(ReservedComplexWriter writer,
MatReserved reserved)
throws IOException
- Specified by:
createReservedWriter in class MatReservedComplex
- Throws:
IOException
getRawDataSize
protected int getRawDataSize()
- Specified by:
getRawDataSize in class MatVariable
- Returns:
- size of raw data excluding type(4) and size(4) and name