Package io.objectbox.flatbuffers
Class FloatVector
java.lang.Object
io.objectbox.flatbuffers.BaseVector
io.objectbox.flatbuffers.FloatVector
Helper type for accessing vector of float values.
-
Field Summary
Fields inherited from class io.objectbox.flatbuffers.BaseVector
bb -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription__assign(int _vector, ByteBuffer _bb) Assigns vector access object to vector data.floatget(int j) Reads the float value at the given index.
-
Constructor Details
-
FloatVector
public FloatVector()
-
-
Method Details
-
__assign
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.
-