Interface FloatingPointVector

All Superinterfaces:
AutoCloseable, Closeable, Iterable<ValueVector>, ValueVector
All Known Implementing Classes:
Float2Vector, Float4Vector, Float8Vector

public interface FloatingPointVector extends ValueVector
The interface for vectors with floating point values.
  • Method Details

    • setWithPossibleTruncate

      void setWithPossibleTruncate(int index, double value)
      Sets the value at the given index, note this value may be truncated internally.
      Parameters:
      index - the index to set.
      value - the value to set.
    • setSafeWithPossibleTruncate

      void setSafeWithPossibleTruncate(int index, double value)
      Sets the value at the given index, note this value may be truncated internally. Any expansion/reallocation is handled automatically.
      Parameters:
      index - the index to set.
      value - the value to set.
    • getValueAsDouble

      double getValueAsDouble(int index)
      Gets the value at the given index.
      Parameters:
      index - the index to retrieve the value.
      Returns:
      the value at the index.