Class AbstractFloatArray<A extends AbstractFloatArray<A>>
java.lang.Object
net.imglib2.img.basictypeaccess.array.AbstractFloatArray<A>
- All Implemented Interfaces:
Serializable,ArrayDataAccess<A>,FloatAccess
- Direct Known Subclasses:
AbstractVolatileFloatArray,DirtyFloatArray,FloatArray
public abstract class AbstractFloatArray<A extends AbstractFloatArray<A>>
extends Object
implements FloatAccess, ArrayDataAccess<A>
- Author:
- Stephan Preibisch, Stephan Saalfeld
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.imglib2.img.basictypeaccess.array.ArrayDataAccess
createArray
-
Field Details
-
data
protected float[] data
-
-
Constructor Details
-
AbstractFloatArray
public AbstractFloatArray(int numEntities) -
AbstractFloatArray
public AbstractFloatArray(float[] data)
-
-
Method Details
-
getValue
public float getValue(int index) - Specified by:
getValuein interfaceFloatAccess
-
setValue
public void setValue(int index, float value) - Specified by:
setValuein interfaceFloatAccess
-
getCurrentStorageArray
public float[] getCurrentStorageArray()- Specified by:
getCurrentStorageArrayin interfaceArrayDataAccess<A extends AbstractFloatArray<A>>
-