public class Token extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Token.TYPE
Token types.
|
Constructor and Description |
---|
Token(Token.TYPE type,
String value)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Token.TYPE |
getType()
Get the token type.
|
String |
getValue()
Get the token value.
|
int |
hashCode() |
String |
toString() |
public Token(Token.TYPE type, String value)
type
- typevalue
- valuepublic Token.TYPE getType()
public String getValue()
Copyright © 2022 Apache Software Foundation. All rights reserved.