public static enum SkillRequirement.Unit extends java.lang.Enum<SkillRequirement.Unit>
Enum Constant and Description |
---|
EXPERIENCE |
LEVEL |
Modifier and Type | Method and Description |
---|---|
static SkillRequirement.Unit |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SkillRequirement.Unit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SkillRequirement.Unit LEVEL
public static final SkillRequirement.Unit EXPERIENCE
public static SkillRequirement.Unit[] values()
for (SkillRequirement.Unit c : SkillRequirement.Unit.values()) System.out.println(c);
public static SkillRequirement.Unit 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