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