Class DoubleVector

java.lang.Object
io.objectbox.flatbuffers.BaseVector
io.objectbox.flatbuffers.DoubleVector

public final class DoubleVector extends BaseVector
Helper type for accessing vector of double values.
  • Constructor Details

    • DoubleVector

      public DoubleVector()
  • Method Details

    • __assign

      public DoubleVector __assign(int _vector, ByteBuffer _bb)
      Assigns vector access object to vector data.
      Parameters:
      _vector - Start data of a vector.
      _bb - Table's ByteBuffer.
      Returns:
      Returns current vector access object assigned to vector data whose offset is stored at `vector`.
    • get

      public double get(int j)
      Reads the double value at the given index.
      Parameters:
      j - The index from which the double value will be read.
      Returns:
      the double value at the given index.