ch.javasoft.jsmat.variable
Class MatStructure
java.lang.Object
ch.javasoft.jsmat.variable.MatVariable
ch.javasoft.jsmat.variable.MatAllocated
ch.javasoft.jsmat.variable.MatStructure
public class MatStructure
- extends MatAllocated
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MatStructure
public MatStructure(Map<String,? extends MatAllocated> fields)
MatStructure
public MatStructure(Map<String,? extends MatAllocated>[] fields,
int[] dims)
getRawDataSize
public int getRawDataSize()
- Specified by:
getRawDataSize in class MatVariable
- Returns:
- size of raw data excluding type(4) and size(4) and name
writeRawData
public void writeRawData(DataOutput out)
throws IOException
- Description copied from class:
MatAllocated
- Write the raw data to the given output, excluding type, size, name etc.
This method is implemented by the type specific subclasses.
- Specified by:
writeRawData in class MatAllocated
- Parameters:
out - the data output to write to
- Throws:
IOException - if any io exception occurs