org.ujmp.core.bytematrix.calculation
Class AbstractByteCalculation

java.lang.Object
  extended by org.ujmp.core.calculation.AbstractCalculation
      extended by org.ujmp.core.bytematrix.calculation.AbstractByteCalculation
All Implemented Interfaces:
Serializable, ByteCalculation, Calculation
Direct Known Subclasses:
ToByteMatrix

public abstract class AbstractByteCalculation
extends AbstractCalculation
implements ByteCalculation

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.ujmp.core.calculation.Calculation
Calculation.Ret
 
Field Summary
 
Fields inherited from interface org.ujmp.core.calculation.Calculation
ALL, COLUMN, LINK, NEW, NONE, ORIG, ROW
 
Constructor Summary
AbstractByteCalculation(int dimension, Matrix... sources)
           
AbstractByteCalculation(Matrix... sources)
           
 
Method Summary
 ByteMatrix calcLink()
           
 ByteMatrix calcNew()
           
 Matrix calcOrig()
           
 ValueType getValueType()
           
 void setByte(byte value, long... coordinates)
           
 
Methods inherited from class org.ujmp.core.calculation.AbstractCalculation
allCoordinates, availableCoordinates, calc, calcMulti, contains, getAnnotation, getDimension, getSize, getSource, getSources, getStorageType, getValueCount, isSparse, setAnnotation, setDimension, setSources
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.ujmp.core.bytematrix.calculation.ByteCalculation
getByte
 
Methods inherited from interface org.ujmp.core.calculation.Calculation
allCoordinates, availableCoordinates, calc, calcMulti, contains, getAnnotation, getDimension, getSize, getSource, getSources, getStorageType, getValueCount, isSparse, setAnnotation, setDimension, setSources
 

Constructor Detail

AbstractByteCalculation

public AbstractByteCalculation(Matrix... sources)

AbstractByteCalculation

public AbstractByteCalculation(int dimension,
                               Matrix... sources)
Method Detail

calcNew

public final ByteMatrix calcNew()
                         throws MatrixException
Specified by:
calcNew in interface Calculation
Throws:
MatrixException

calcLink

public final ByteMatrix calcLink()
                          throws MatrixException
Specified by:
calcLink in interface Calculation
Throws:
MatrixException

calcOrig

public final Matrix calcOrig()
                      throws MatrixException
Specified by:
calcOrig in interface Calculation
Throws:
MatrixException

setByte

public void setByte(byte value,
                    long... coordinates)
             throws MatrixException
Specified by:
setByte in interface ByteCalculation
Throws:
MatrixException

getValueType

public final ValueType getValueType()
Specified by:
getValueType in interface Calculation


Copyright © 2010. All Rights Reserved.