public enum Sensitivity extends Enum<Sensitivity>
| Enum Constant and Description |
|---|
HIGH
Enum value High.
|
LOW
Enum value Low.
|
MEDIUM
Enum value Medium.
|
| Modifier and Type | Method and Description |
|---|---|
static Sensitivity |
fromString(String value)
Parses a serialized value to a Sensitivity instance.
|
String |
toString() |
static Sensitivity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Sensitivity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Sensitivity LOW
public static final Sensitivity MEDIUM
public static final Sensitivity HIGH
public static Sensitivity[] values()
for (Sensitivity c : Sensitivity.values()) System.out.println(c);
public static Sensitivity 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 static Sensitivity fromString(String value)
value - the serialized value to parse.public String toString()
toString in class Enum<Sensitivity>Copyright © 2019. All rights reserved.