public enum TokenType extends Enum<TokenType>
Enum Constant and Description |
---|
AND |
BLOCK_END |
BLOCK_START |
EQUALS |
LARGER |
LITERAL |
NOT_EQUALS |
OR |
SMALLER |
Modifier and Type | Method and Description |
---|---|
String |
getToken() |
static TokenType |
getTokenType(String token) |
boolean |
isFieldOperator() |
static TokenType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TokenType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TokenType BLOCK_START
public static final TokenType BLOCK_END
public static final TokenType AND
public static final TokenType OR
public static final TokenType EQUALS
public static final TokenType LARGER
public static final TokenType SMALLER
public static final TokenType NOT_EQUALS
public static final TokenType LITERAL
public static TokenType[] values()
for (TokenType c : TokenType.values()) System.out.println(c);
public static TokenType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getToken()
public boolean isFieldOperator()
Copyright © 2015. All rights reserved.