ch.javasoft.jsmat.primitive
Class MatInt64

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

public class MatInt64
extends MatPrimitive


Constructor Summary
MatInt64(long value)
           
MatInt64(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

MatInt64

public MatInt64(long value)

MatInt64

public MatInt64(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