public enum SecurityStrength extends Enum<SecurityStrength>
Enum Constant and Description |
---|
HIGH
High security strength.
|
LOW
Low security strength.
|
MEDIUM
Medium security strength.
|
Modifier and Type | Method and Description |
---|---|
static SecurityStrength |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SecurityStrength[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SecurityStrength HIGH
public static final SecurityStrength MEDIUM
public static final SecurityStrength LOW
public static SecurityStrength[] values()
for (SecurityStrength c : SecurityStrength.values()) System.out.println(c);
public static SecurityStrength 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 nullCopyright © 2003-2019 Virginia Tech. All Rights Reserved.