public final class ShortVector extends BaseVector
bb| Constructor and Description |
|---|
ShortVector() |
| Modifier and Type | Method and Description |
|---|---|
ShortVector |
__assign(int _vector,
ByteBuffer _bb)
Assigns vector access object to vector data.
|
short |
get(int j)
Reads the short value at the given index.
|
int |
getAsUnsigned(int j)
Reads the short at the given index, zero-extends it to type int, and returns the result,
which is therefore in the range 0 through 65535.
|
public ShortVector __assign(int _vector, ByteBuffer _bb)
_vector - Start data of a vector._bb - Table's ByteBuffer.public short get(int j)
j - The index from which the short value will be read.public int getAsUnsigned(int j)
j - The index from which the short value will be read.Copyright © 2020. All rights reserved.