public abstract class AbstractFloatArray<A extends AbstractFloatArray<A>> extends Object implements FloatAccess, ArrayDataAccess<A>
Modifier and Type | Field and Description |
---|---|
protected float[] |
data |
Constructor and Description |
---|
AbstractFloatArray(float[] data) |
AbstractFloatArray(int numEntities) |
Modifier and Type | Method and Description |
---|---|
int |
getArrayLength() |
float[] |
getCurrentStorageArray() |
float |
getValue(int index) |
void |
setValue(int index,
float value) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createArray
public AbstractFloatArray(int numEntities)
public AbstractFloatArray(float[] data)
public float getValue(int index)
getValue
in interface FloatAccess
public void setValue(int index, float value)
setValue
in interface FloatAccess
public float[] getCurrentStorageArray()
getCurrentStorageArray
in interface ArrayDataAccess<A extends AbstractFloatArray<A>>
public int getArrayLength()
getArrayLength
in interface ArrayDataAccess<A extends AbstractFloatArray<A>>
Copyright © 2015–2022 ImgLib2. All rights reserved.