public enum NeutronType extends java.lang.Enum<NeutronType>
Enum Constant and Description |
---|
OTHER |
SPACE |
TEXT |
ZWSP_SEPARATOR |
Modifier and Type | Method and Description |
---|---|
static NeutronType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NeutronType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NeutronType TEXT
public static final NeutronType SPACE
public static final NeutronType ZWSP_SEPARATOR
public static final NeutronType OTHER
public static NeutronType[] values()
for (NeutronType c : NeutronType.values()) System.out.println(c);
public static NeutronType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null