Enum Constant and Description |
---|
BUILTIN_COMMANDS
A list of built-in Minecraft server commands, so we can say which ones
are being overridden by plug-ins.
|
INT_REGEX
Regex to check if String is a number.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
getValues()
Returns a list-type constant.
|
java.util.Iterator<java.lang.String> |
iterator()
Returns the iterator for a list-type constant.
|
java.lang.String |
toString() |
static Constants |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Constants[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constants INT_REGEX
public static final Constants BUILTIN_COMMANDS
public static Constants[] values()
for (Constants c : Constants.values()) System.out.println(c);
public static Constants 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 nullpublic java.util.Iterator<java.lang.String> iterator()
iterator
in interface java.lang.Iterable<java.lang.String>
public java.lang.String toString()
toString
in class java.lang.Enum<Constants>
public java.util.List<java.lang.String> getValues()