Class AbstractFloatArray<A extends AbstractFloatArray<A>>
- java.lang.Object
-
- net.imglib2.img.basictypeaccess.array.AbstractFloatArray<A>
-
- All Implemented Interfaces:
java.io.Serializable
,ArrayDataAccess<A>
,FloatAccess
- Direct Known Subclasses:
AbstractVolatileFloatArray
,DirtyFloatArray
,FloatArray
public abstract class AbstractFloatArray<A extends AbstractFloatArray<A>> extends java.lang.Object implements FloatAccess, ArrayDataAccess<A>
- Author:
- Stephan Preibisch, Stephan Saalfeld
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected float[]
data
-
Constructor Summary
Constructors Constructor Description AbstractFloatArray(float[] data)
AbstractFloatArray(int numEntities)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description float[]
getCurrentStorageArray()
float
getValue(int index)
void
setValue(int index, float 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
-
-
-
-
Method Detail
-
getValue
public float getValue(int index)
- Specified by:
getValue
in interfaceFloatAccess
-
setValue
public void setValue(int index, float value)
- Specified by:
setValue
in interfaceFloatAccess
-
getCurrentStorageArray
public float[] getCurrentStorageArray()
- Specified by:
getCurrentStorageArray
in interfaceArrayDataAccess<A extends AbstractFloatArray<A>>
-
-