Package io.objectbox.flatbuffers
Class FlexBuffers.TypedVector
java.lang.Object
io.objectbox.flatbuffers.FlexBuffers.Vector
io.objectbox.flatbuffers.FlexBuffers.TypedVector
- Enclosing class:
- FlexBuffers
Object that represents a set of elements with the same type
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic FlexBuffers.TypedVectorempty()get(int pos) Get reference to an object in theVectorintReturn element type for all elements in the vectorbooleanReturns whether the vector is emptyintsize()toString()Methods inherited from class io.objectbox.flatbuffers.FlexBuffers.Vector
isEmpty, toString
-
Field Details
-
size
protected final int size
-
-
Method Details
-
empty
-
isEmptyVector
public boolean isEmptyVector()Returns whether the vector is empty- Returns:
- true if empty
-
getElemType
public int getElemType()Return element type for all elements in the vector- Returns:
- element type
-
get
Get reference to an object in theVector- Overrides:
getin classFlexBuffers.Vector- Parameters:
pos- position of the object inVector- Returns:
- reference to element
-
size
public int size() -
toString
-