Class FloatVector


  • public final class FloatVector
    extends BaseVector
    Helper type for accessing vector of float values.
    • Field Summary

      • Fields inherited from class io.objectbox.flatbuffers.BaseVector

        bb
    • Constructor Summary

      Constructors 
      Constructor Description
      FloatVector()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      FloatVector __assign​(int _vector, java.nio.ByteBuffer _bb)
      Assigns vector access object to vector data.
      float get​(int j)
      Reads the float value at the given index.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FloatVector

        public FloatVector()
    • Method Detail

      • __assign

        public FloatVector __assign​(int _vector,
                                    java.nio.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 float get​(int j)
        Reads the float value at the given index.
        Parameters:
        j - The index from which the float value will be read.
        Returns:
        the float value at the given index.