Package jasima.core.util.converter
Enum ArgListTokenizer.TokenType
- java.lang.Object
-
- java.lang.Enum<ArgListTokenizer.TokenType>
-
- jasima.core.util.converter.ArgListTokenizer.TokenType
-
- All Implemented Interfaces:
Serializable,Comparable<ArgListTokenizer.TokenType>
- Enclosing class:
- ArgListTokenizer
public static enum ArgListTokenizer.TokenType extends Enum<ArgListTokenizer.TokenType>
The recognized tokens.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BRACKETS_CLOSEBRACKETS_OPENEQUALSPARENS_CLOSEPARENS_OPENSEMICOLONSTRINGWHITE_SPACE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ArgListTokenizer.TokenTypevalueOf(String name)Returns the enum constant of this type with the specified name.static ArgListTokenizer.TokenType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STRING
public static final ArgListTokenizer.TokenType STRING
-
PARENS_OPEN
public static final ArgListTokenizer.TokenType PARENS_OPEN
-
PARENS_CLOSE
public static final ArgListTokenizer.TokenType PARENS_CLOSE
-
BRACKETS_OPEN
public static final ArgListTokenizer.TokenType BRACKETS_OPEN
-
BRACKETS_CLOSE
public static final ArgListTokenizer.TokenType BRACKETS_CLOSE
-
EQUALS
public static final ArgListTokenizer.TokenType EQUALS
-
SEMICOLON
public static final ArgListTokenizer.TokenType SEMICOLON
-
WHITE_SPACE
public static final ArgListTokenizer.TokenType WHITE_SPACE
-
-
Method Detail
-
values
public static ArgListTokenizer.TokenType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ArgListTokenizer.TokenType c : ArgListTokenizer.TokenType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ArgListTokenizer.TokenType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-