Class FloatArrayList
java.lang.Object
io.deephaven.util.datastructures.list.FloatArrayList
Limited implementation of a growable/shrinkable List-like structure that holds floats.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(float value) voidclear()booleanfloatgetFloat(int position) inthashCode()voidremoveElements(int from, int to) At this time, limited to only removing trailing elements.voidremoveFloat(int position) At this time, limited to only removing the last element.voidset(int position, float value) intsize()
-
Constructor Details
-
FloatArrayList
public FloatArrayList()
-
-
Method Details
-
size
public int size() -
getFloat
public float getFloat(int position) -
set
public void set(int position, float value) -
add
public void add(float value) -
removeElements
public void removeElements(int from, int to) At this time, limited to only removing trailing elements.- Parameters:
from- the start position (inclusive)to- the end position (exclusive)
-
removeFloat
public void removeFloat(int position) At this time, limited to only removing the last element.- Parameters:
position- the position of the element to remove
-
clear
public void clear() -
equals
-
hashCode
public int hashCode()
-