Serializable
, Comparable<Constants.TokenType>
public static enum Constants.TokenType extends Enum<Constants.TokenType>
Modifier and Type | Method | Description |
---|---|---|
static Constants.TokenType |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static Constants.TokenType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constants.TokenType ACCESS
public static final Constants.TokenType PRIVATE
public static Constants.TokenType[] values()
for (Constants.TokenType c : Constants.TokenType.values()) System.out.println(c);
public static Constants.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 nullCopyright © 2018. All rights reserved.