Class DbSubIntArray

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

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

    • DbSubIntArray

      public DbSubIntArray(@NotNull DbIntArray innerArray, @NotNull long[] positions)
  • Method Details

    • get

      public int get(long index)
    • subArray

      public DbIntArray subArray(long fromIndex, long toIndex)
    • 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 toDbArray()
    • getPrev

      public int getPrev(long index)
    • isEmpty

      public boolean isEmpty()