Package io.objectbox.flatbuffers
Class LongVector
- java.lang.Object
-
- io.objectbox.flatbuffers.BaseVector
-
- io.objectbox.flatbuffers.LongVector
-
public final class LongVector extends BaseVector
Helper type for accessing vector of long values.
-
-
Field Summary
-
Fields inherited from class io.objectbox.flatbuffers.BaseVector
bb
-
-
Constructor Summary
Constructors Constructor Description LongVector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LongVector
__assign(int _vector, java.nio.ByteBuffer _bb)
Assigns vector access object to vector data.long
get(int j)
Reads the long value at the given index.
-
-
-
Method Detail
-
__assign
public LongVector __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 long get(int j)
Reads the long value at the given index.- Parameters:
j
- The index from which the long value will be read.- Returns:
- the signed 64-bit value at the given index.
-
-