public static enum Pure.Kind extends Enum<Pure.Kind>
Enum Constant and Description |
---|
DETERMINISTIC
The method returns exactly the same value when called in the same environment.
|
SIDE_EFFECT_FREE
The method has no visible side-effects.
|
Modifier and Type | Method and Description |
---|---|
static Pure.Kind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Pure.Kind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Pure.Kind SIDE_EFFECT_FREE
public static final Pure.Kind DETERMINISTIC
public static Pure.Kind[] values()
for (Pure.Kind c : Pure.Kind.values()) System.out.println(c);
public static Pure.Kind 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 null