public enum Requirement extends Enum<Requirement>
Enum Constant and Description |
---|
OPTIONAL
The implementation of the algorithm is optional.
|
RECOMMENDED
The implementation of the algorithm is recommended.
|
REQUIRED
The implementation of the algorithm is required.
|
Modifier and Type | Method and Description |
---|---|
static Requirement |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Requirement[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Requirement REQUIRED
public static final Requirement RECOMMENDED
public static final Requirement OPTIONAL
public static Requirement[] values()
for (Requirement c : Requirement.values()) System.out.println(c);
public static Requirement 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 © 2017 Connect2id Ltd.. All rights reserved.