Class DbIntArraySlice

java.lang.Object
com.illumon.iris.db.tables.dbarrays.DbIntArray.Indirect
com.illumon.iris.db.tables.dbarrays.DbIntArraySlice
All Implemented Interfaces:
DbArrayBase, DbIntArray, LongSizedDataStructure, ToStringWithElements, Serializable

public class DbIntArraySlice extends DbIntArray.Indirect
See Also:
  • Constructor Details

    • DbIntArraySlice

      public DbIntArraySlice(@NotNull DbIntArray innerArray, long offsetIndex, long length, long innerArrayValidFromInclusive, long innerArrayValidToExclusive)
    • DbIntArraySlice

      public DbIntArraySlice(@NotNull DbIntArray innerArray, long offsetIndex, long length)
  • Method Details

    • get

      public int get(long index)
    • subArray

      public DbIntArray subArray(long fromIndexInclusive, long toIndexExclusive)
    • subArrayByPositions

      public DbIntArray subArrayByPositions(long[] positions)
    • toArray

      public int[] toArray()
    • size

      public long size()
      Description copied from interface: LongSizedDataStructure
      The size of this data structure.
      Returns:
      The size
    • toDbArray

      public DbArray<Integer> toDbArray()
    • getPrev

      public int getPrev(long index)
    • isEmpty

      public boolean isEmpty()