Class DbSubBooleanArray
java.lang.Object
com.illumon.iris.db.tables.dbarrays.DbBooleanArray.Indirect
com.illumon.iris.db.tables.dbarrays.DbSubBooleanArray
- All Implemented Interfaces:
DbArrayBase
,DbBooleanArray
,LongSizedDataStructure
,ToStringWithElements
,Serializable
public class DbSubBooleanArray extends DbBooleanArray.Indirect
- See Also:
- Serialized Form
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.illumon.iris.db.tables.dbarrays.DbBooleanArray
DbBooleanArray.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 DbSubBooleanArray(DbBooleanArray innerArray, long[] positions)
-
Method Summary
Modifier and Type Method Description Boolean
get(long index)
DbBooleanArrayDirect
getDirect()
Return a version of this DbArrayBase that is flattened out to only reference memory.boolean
isEmpty()
long
size()
The size of this data structure.DbBooleanArray
subArray(long fromIndex, long toIndex)
DbBooleanArray
subArrayByPositions(long[] positions)
Boolean[]
toArray()
DbArray
toDbArray()
Methods inherited from class com.illumon.iris.db.tables.dbarrays.DbBooleanArray.Indirect
equals, hashCode, 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.DbBooleanArray
fillChunk, getComponentType, toChunk
-
Constructor Details
-
Method Details
-
get
-
subArray
-
subArrayByPositions
-
toArray
-
size
public long size()Description copied from interface:LongSizedDataStructure
The size of this data structure.- Returns:
- The size
-
toDbArray
-
isEmpty
public boolean isEmpty() -
getDirect
Description copied from interface:DbBooleanArray
Return a version of this DbArrayBase that is flattened out to only reference memory.
-