org.ujmp.core.objectmatrix.calculation
Class Fill

java.lang.Object
  extended by org.ujmp.core.calculation.AbstractCalculation
      extended by org.ujmp.core.objectmatrix.calculation.AbstractObjectCalculation
          extended by org.ujmp.core.objectmatrix.calculation.Fill
All Implemented Interfaces:
Serializable, Calculation, ObjectCalculation

public class Fill
extends AbstractObjectCalculation

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
Fill(Matrix matrix, Object value)
           
 
Method Summary
static Matrix calc(Matrix source, Object fill)
           
static Matrix calc(Object fill, long... size)
           
 Object getObject(long... coordinates)
           
 
Methods inherited from class org.ujmp.core.objectmatrix.calculation.AbstractObjectCalculation
calcLink, calcNew, calcOrig, getValueType, setObject
 
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.calculation.Calculation
allCoordinates, availableCoordinates, calc, calcMulti, contains, getAnnotation, getDimension, getSize, getSource, getSources, getStorageType, getValueCount, isSparse, setAnnotation, setDimension, setSources
 

Constructor Detail

Fill

public Fill(Matrix matrix,
            Object value)
Method Detail

getObject

public Object getObject(long... coordinates)

calc

public static Matrix calc(Matrix source,
                          Object fill)
                   throws MatrixException
Throws:
MatrixException

calc

public static Matrix calc(Object fill,
                          long... size)
                   throws MatrixException
Throws:
MatrixException


Copyright © 2010. All Rights Reserved.