Package mireka.address.parser
Enum Ipv6Token.Kind
- Object
-
- Enum<Ipv6Token.Kind>
-
- mireka.address.parser.Ipv6Token.Kind
-
- All Implemented Interfaces:
java.io.Serializable,Comparable<Ipv6Token.Kind>
- Enclosing class:
- Ipv6Token
public static enum Ipv6Token.Kind extends Enum<Ipv6Token.Kind>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Ipv6Token.KindvalueOf(String name)Returns the enum constant of this type with the specified name.static Ipv6Token.Kind[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NUM
public static final Ipv6Token.Kind NUM
-
DOT
public static final Ipv6Token.Kind DOT
-
COLON
public static final Ipv6Token.Kind COLON
-
DOUBLE_COLON
public static final Ipv6Token.Kind DOUBLE_COLON
-
OTHER
public static final Ipv6Token.Kind OTHER
-
EOF
public static final Ipv6Token.Kind EOF
-
-
Method Detail
-
values
public static Ipv6Token.Kind[] 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 (Ipv6Token.Kind c : Ipv6Token.Kind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Ipv6Token.Kind 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
-
-