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