protected static final class TokenBuffer.Segment extends Object
限定符和类型 | 字段和说明 |
---|---|
protected TokenBuffer.Segment |
_next |
protected Object[] |
_tokens |
protected long |
_tokenTypes
Bit field used to store types of buffered tokens; 4 bits per token.
|
static int |
TOKENS_PER_SEGMENT |
构造器和说明 |
---|
TokenBuffer.Segment() |
限定符和类型 | 方法和说明 |
---|---|
TokenBuffer.Segment |
append(int index,
JsonToken tokenType) |
TokenBuffer.Segment |
append(int index,
JsonToken tokenType,
Object value) |
Object |
get(int index) |
TokenBuffer.Segment |
next() |
void |
set(int index,
JsonToken tokenType) |
void |
set(int index,
JsonToken tokenType,
Object value) |
JsonToken |
type(int index) |
public static final int TOKENS_PER_SEGMENT
protected TokenBuffer.Segment _next
protected long _tokenTypes
protected final Object[] _tokens
public JsonToken type(int index)
public Object get(int index)
public TokenBuffer.Segment next()
public TokenBuffer.Segment append(int index, JsonToken tokenType)
public TokenBuffer.Segment append(int index, JsonToken tokenType, Object value)
public void set(int index, JsonToken tokenType)