Class DbLongArraySlice

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

public class DbLongArraySlice extends DbLongArray.Indirect
See Also:
  • Constructor Details

    • DbLongArraySlice

      public DbLongArraySlice(@NotNull DbLongArray innerArray, long offsetIndex, long length, long innerArrayValidFromInclusive, long innerArrayValidToExclusive)
    • DbLongArraySlice

      public DbLongArraySlice(@NotNull DbLongArray innerArray, long offsetIndex, long length)
  • Method Details

    • get

      public long get(long index)
    • subArray

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

      public DbLongArray subArrayByPositions(long[] positions)
    • toArray

      public long[] toArray()
    • size

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

      public DbArray<Long> toDbArray()
    • getPrev

      public long getPrev(long index)
    • isEmpty

      public boolean isEmpty()