Class AbstractDoubleArray<A extends AbstractDoubleArray<A>>
- java.lang.Object
-
- net.imglib2.img.basictypeaccess.array.AbstractDoubleArray<A>
-
- All Implemented Interfaces:
java.io.Serializable,ArrayDataAccess<A>,DataAccess,DoubleAccess
- Direct Known Subclasses:
AbstractVolatileDoubleArray,DirtyDoubleArray,DoubleArray
public abstract class AbstractDoubleArray<A extends AbstractDoubleArray<A>> extends java.lang.Object implements DoubleAccess, ArrayDataAccess<A>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected double[]data
-
Constructor Summary
Constructors Constructor Description AbstractDoubleArray(double[] data)AbstractDoubleArray(int numEntities)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetArrayLength()double[]getCurrentStorageArray()doublegetValue(int index)voidsetValue(int index, double value)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.imglib2.img.basictypeaccess.array.ArrayDataAccess
createArray
-
Methods inherited from interface net.imglib2.img.basictypeaccess.DataAccess
createView
-
-
-
-
Method Detail
-
getValue
public double getValue(int index)
- Specified by:
getValuein interfaceDoubleAccess
-
setValue
public void setValue(int index, double value)- Specified by:
setValuein interfaceDoubleAccess
-
getCurrentStorageArray
public double[] getCurrentStorageArray()
- Specified by:
getCurrentStorageArrayin interfaceArrayDataAccess<A extends AbstractDoubleArray<A>>
-
getArrayLength
public int getArrayLength()
- Specified by:
getArrayLengthin interfaceArrayDataAccess<A extends AbstractDoubleArray<A>>
-
-