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