org.ujmp.core.shortmatrix.calculation
Class AbstractShortCalculation

java.lang.Object
  extended by org.ujmp.core.calculation.AbstractCalculation
      extended by org.ujmp.core.shortmatrix.calculation.AbstractShortCalculation
All Implemented Interfaces:
Serializable, Calculation, ShortCalculation
Direct Known Subclasses:
ToShortMatrix

public abstract class AbstractShortCalculation
extends AbstractCalculation
implements ShortCalculation

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
AbstractShortCalculation(int dimension, Matrix... sources)
           
AbstractShortCalculation(Matrix... sources)
           
 
Method Summary
 ShortMatrix calcLink()
           
 ShortMatrix calcNew()
           
 Matrix calcOrig()
           
 ValueType getValueType()
           
 void setShort(short 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.shortmatrix.calculation.ShortCalculation
getShort
 
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

AbstractShortCalculation

public AbstractShortCalculation(Matrix... sources)

AbstractShortCalculation

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

calcLink

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

calcNew

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

calcOrig

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

setShort

public void setShort(short value,
                     long... coordinates)
              throws MatrixException
Specified by:
setShort in interface ShortCalculation
Throws:
MatrixException

getValueType

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


Copyright © 2010. All Rights Reserved.