Class DbDoubleArraySlice

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

public class DbDoubleArraySlice extends DbDoubleArray.Indirect
See Also:
  • Constructor Details

    • DbDoubleArraySlice

      public DbDoubleArraySlice(@NotNull DbDoubleArray innerArray, long offsetIndex, long length, long innerArrayValidFromInclusive, long innerArrayValidToExclusive)
    • DbDoubleArraySlice

      public DbDoubleArraySlice(@NotNull DbDoubleArray innerArray, long offsetIndex, long length)
  • Method Details

    • get

      public double get(long index)
    • subArray

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

      public DbDoubleArray subArrayByPositions(long[] positions)
    • toArray

      public double[] toArray()
    • size

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

      public DbArray<Double> toDbArray()
    • getPrev

      public double getPrev(long index)
    • isEmpty

      public boolean isEmpty()