Class DbShortArraySlice
java.lang.Object
com.illumon.iris.db.tables.dbarrays.DbShortArray.Indirect
com.illumon.iris.db.tables.dbarrays.DbShortArraySlice
- All Implemented Interfaces:
DbArrayBase
,DbShortArray
,LongSizedDataStructure
,ToStringWithElements
,Serializable
public class DbShortArraySlice extends DbShortArray.Indirect
- See Also:
- Serialized Form
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.illumon.iris.db.tables.dbarrays.DbShortArray
DbShortArray.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 DbShortArraySlice(DbShortArray innerArray, long offsetIndex, long length)
DbShortArraySlice(DbShortArray innerArray, long offsetIndex, long length, long innerArrayValidFromInclusive, long innerArrayValidToExclusive)
-
Method Summary
Modifier and Type Method Description short
get(long index)
short
getPrev(long index)
boolean
isEmpty()
long
size()
The size of this data structure.DbShortArray
subArray(long fromIndexInclusive, long toIndexExclusive)
DbShortArray
subArrayByPositions(long[] positions)
short[]
toArray()
DbArray<Short>
toDbArray()
Methods inherited from class com.illumon.iris.db.tables.dbarrays.DbShortArray.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.DbShortArray
fillChunk, getComponentType, toChunk
-
Constructor Details
-
DbShortArraySlice
public DbShortArraySlice(@NotNull DbShortArray innerArray, long offsetIndex, long length, long innerArrayValidFromInclusive, long innerArrayValidToExclusive) -
DbShortArraySlice
-
-
Method Details
-
get
public short get(long index) -
subArray
-
subArrayByPositions
-
toArray
public short[] toArray() -
size
public long size()Description copied from interface:LongSizedDataStructure
The size of this data structure.- Returns:
- The size
-
toDbArray
-
getPrev
public short getPrev(long index) -
isEmpty
public boolean isEmpty()
-