Class DbCharArraySlice
java.lang.Object
com.illumon.iris.db.tables.dbarrays.DbCharArray.Indirect
com.illumon.iris.db.tables.dbarrays.DbCharArraySlice
- All Implemented Interfaces:
DbArrayBase,DbCharArray,LongSizedDataStructure,ToStringWithElements,Serializable
public class DbCharArraySlice extends DbCharArray.Indirect
- See Also:
- Serialized Form
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.illumon.iris.db.tables.dbarrays.DbCharArray
DbCharArray.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 DbCharArraySlice(DbCharArray innerArray, long offsetIndex, long length)DbCharArraySlice(DbCharArray innerArray, long offsetIndex, long length, long innerArrayValidFromInclusive, long innerArrayValidToExclusive) -
Method Summary
Modifier and Type Method Description charget(long index)chargetPrev(long index)booleanisEmpty()longsize()The size of this data structure.DbCharArraysubArray(long fromIndexInclusive, long toIndexExclusive)DbCharArraysubArrayByPositions(long[] positions)char[]toArray()DbArray<Character>toDbArray()Methods inherited from class com.illumon.iris.db.tables.dbarrays.DbCharArray.Indirect
equals, getDirect, hashCode, toString, toString, writeReplaceMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.illumon.iris.db.tables.dbarrays.DbCharArray
fillChunk, getComponentType, toChunk
-
Constructor Details
-
DbCharArraySlice
public DbCharArraySlice(@NotNull DbCharArray innerArray, long offsetIndex, long length, long innerArrayValidFromInclusive, long innerArrayValidToExclusive) -
DbCharArraySlice
-
-
Method Details
-
get
public char get(long index) -
subArray
-
subArrayByPositions
-
toArray
public char[] toArray() -
size
public long size()Description copied from interface:LongSizedDataStructureThe size of this data structure.- Returns:
- The size
-
toDbArray
-
getPrev
public char getPrev(long index) -
isEmpty
public boolean isEmpty()
-