public enum KeyResolutionStrategy extends Enum<KeyResolutionStrategy>
Enum Constant and Description |
---|
DECLARING_CLASS |
INSTANCE_CLASS |
Modifier and Type | Field and Description |
---|---|
static String |
PREFERENCES_KEY_RESOLUTION_STRATEGY |
Modifier and Type | Method and Description |
---|---|
static KeyResolutionStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KeyResolutionStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KeyResolutionStrategy DECLARING_CLASS
public static final KeyResolutionStrategy INSTANCE_CLASS
public static final String PREFERENCES_KEY_RESOLUTION_STRATEGY
public static KeyResolutionStrategy[] values()
for (KeyResolutionStrategy c : KeyResolutionStrategy.values()) System.out.println(c);
public static KeyResolutionStrategy 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