ch.javasoft.jsmat.primitive
Class MatUInt64

java.lang.Object
  extended by ch.javasoft.jsmat.primitive.MatPrimitive
      extended by ch.javasoft.jsmat.primitive.MatUInt64

public class MatUInt64
extends MatPrimitive


Constructor Summary
MatUInt64(long value)
           
MatUInt64(long[] values)
           
 
Method Summary
 int getArrayLength()
           
protected  void writeBody(DataOutput out)
          Writes the raw data block, without padding, type and size information
 
Methods inherited from class ch.javasoft.jsmat.primitive.MatPrimitive
getRawDataSize, getSize, getUnitSize, write, writeEnd, writeStart
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MatUInt64

public MatUInt64(long value)

MatUInt64

public MatUInt64(long[] values)
Method Detail

getArrayLength

public int getArrayLength()
Specified by:
getArrayLength in class MatPrimitive
Returns:
the logical data length, that is MatPrimitive.getRawDataSize() divided by MatPrimitive.getUnitSize(). this is usually the length of the array storing the data in java

writeBody

protected void writeBody(DataOutput out)
                  throws IOException
Description copied from class: MatPrimitive
Writes the raw data block, without padding, type and size information

Specified by:
writeBody in class MatPrimitive
Parameters:
out - the data output to write to
Throws:
IOException - if any io exception occurs