public class NIOFloatArray extends Object implements ArrayDataAccess<NIOFloatArray>, FloatAccess
Modifier and Type | Field and Description |
---|---|
protected FloatBuffer |
data |
Constructor and Description |
---|
NIOFloatArray(float[] data) |
NIOFloatArray(int numEntities) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
NIOFloatArray |
createArray(int numEntities) |
float[] |
getCurrentStorageArray() |
float |
getValue(int index) |
void |
setValue(int index,
float value) |
protected FloatBuffer data
public NIOFloatArray(int numEntities)
public NIOFloatArray(float[] data)
public void close()
close
in interface DataAccess
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<NIOFloatArray>
public NIOFloatArray createArray(int numEntities)
createArray
in interface ArrayDataAccess<NIOFloatArray>
Copyright © 2015–2021 Fiji. All rights reserved.