public static enum Exploit.SkillLevelEnum extends Enum<Exploit.SkillLevelEnum>
Enum Constant and Description |
---|
EXPERT |
INTERMEDIATE |
NOVICE |
Modifier and Type | Method and Description |
---|---|
static Exploit.SkillLevelEnum |
fromValue(String text) |
String |
getValue() |
String |
toString() |
static Exploit.SkillLevelEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Exploit.SkillLevelEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Exploit.SkillLevelEnum NOVICE
public static final Exploit.SkillLevelEnum INTERMEDIATE
public static final Exploit.SkillLevelEnum EXPERT
public static Exploit.SkillLevelEnum[] values()
for (Exploit.SkillLevelEnum c : Exploit.SkillLevelEnum.values()) System.out.println(c);
public static Exploit.SkillLevelEnum 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 nullpublic String getValue()
public String toString()
toString
in class Enum<Exploit.SkillLevelEnum>
public static Exploit.SkillLevelEnum fromValue(String text)
Copyright © 2016–2022. All rights reserved.