Class DbBooleanArrayDirect
java.lang.Object
com.illumon.iris.db.tables.dbarrays.DbBooleanArrayDirect
- All Implemented Interfaces:
DbArrayBase
,DbBooleanArray
,LongSizedDataStructure
,ToStringWithElements
,Serializable
public class DbBooleanArrayDirect extends Object implements DbBooleanArray
- 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.db.tables.dbarrays.DbArrayBase
NULL_ELEMENT_STRING, serialVersionUID
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 DbBooleanArrayDirect(Boolean... data)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object obj)
Boolean
get(long i)
DbBooleanArrayDirect
getDirect()
Return a version of this DbArrayBase that is flattened out to only reference memory.int
hashCode()
long
size()
The size of this data structure.DbBooleanArray
subArray(long fromIndex, long toIndex)
DbBooleanArray
subArrayByPositions(long[] positions)
Boolean[]
toArray()
DbArray
toDbArray()
String
toString()
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
- Specified by:
get
in interfaceDbBooleanArray
-
subArray
- Specified by:
subArray
in interfaceDbArrayBase
- Specified by:
subArray
in interfaceDbBooleanArray
-
subArrayByPositions
- Specified by:
subArrayByPositions
in interfaceDbArrayBase
- Specified by:
subArrayByPositions
in interfaceDbBooleanArray
-
toArray
- Specified by:
toArray
in interfaceDbArrayBase
- Specified by:
toArray
in interfaceDbBooleanArray
-
size
public long size()Description copied from interface:LongSizedDataStructure
The size of this data structure.- Specified by:
size
in interfaceLongSizedDataStructure
- Returns:
- The size
-
toDbArray
- Specified by:
toDbArray
in interfaceDbArrayBase
- Specified by:
toDbArray
in interfaceDbBooleanArray
-
getDirect
Description copied from interface:DbBooleanArray
Return a version of this DbArrayBase that is flattened out to only reference memory.- Specified by:
getDirect
in interfaceDbArrayBase
- Specified by:
getDirect
in interfaceDbBooleanArray
-
toString
-
equals
-
hashCode
public final int hashCode()
-