Class DbSubFloatArray
java.lang.Object
com.illumon.iris.db.tables.dbarrays.DbFloatArray.Indirect
com.illumon.iris.db.tables.dbarrays.DbSubFloatArray
- All Implemented Interfaces:
DbArrayBase
,DbFloatArray
,LongSizedDataStructure
,ToStringWithElements
,Serializable
public class DbSubFloatArray extends DbFloatArray.Indirect
- See Also:
- Serialized Form
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.illumon.iris.db.tables.dbarrays.DbFloatArray
DbFloatArray.Indirect
-
Field Summary
Fields inherited from interface com.illumon.iris.gui.table.format.ToStringWithElements
ARRAY_SIZE_WARNING, DEFAULT_ARRAY_SIZE_COPY, MAX_ARRAY_SIZE_COPY
-
Constructor Summary
Constructors Constructor Description DbSubFloatArray(DbFloatArray innerArray, long[] positions)
-
Method Summary
Modifier and Type Method Description float
get(long index)
float
getPrev(long index)
boolean
isEmpty()
long
size()
The size of this data structure.DbFloatArray
subArray(long fromIndex, long toIndex)
DbFloatArray
subArrayByPositions(long[] positions)
float[]
toArray()
DbArray
toDbArray()
Methods inherited from class com.illumon.iris.db.tables.dbarrays.DbFloatArray.Indirect
equals, getDirect, hashCode, toString, toString, writeReplace
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.illumon.iris.db.tables.dbarrays.DbFloatArray
fillChunk, getComponentType, toChunk
-
Constructor Details
-
Method Details
-
get
public float get(long index) -
subArray
-
subArrayByPositions
-
toArray
public float[] toArray() -
size
public long size()Description copied from interface:LongSizedDataStructure
The size of this data structure.- Returns:
- The size
-
toDbArray
-
getPrev
public float getPrev(long index) -
isEmpty
public boolean isEmpty()
-