Class DbSubShortArray

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

public class DbSubShortArray extends DbShortArray.Indirect
See Also:
  • Constructor Details

    • DbSubShortArray

      public DbSubShortArray(@NotNull DbShortArray innerArray, @NotNull long[] positions)
  • Method Details

    • get

      public short get(long index)
    • subArray

      public DbShortArray subArray(long fromIndex, long toIndex)
    • subArrayByPositions

      public DbShortArray subArrayByPositions(long[] positions)
    • toArray

      public short[] 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 short getPrev(long index)
    • isEmpty

      public boolean isEmpty()