public enum StringPreference extends Enum<StringPreference>
| Enum Constant and Description |
|---|
COMPANY |
DEFAULT_OPERATOR |
| Modifier and Type | Method and Description |
|---|---|
String |
getKey() |
static StringPreference |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StringPreference[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StringPreference COMPANY
public static final StringPreference DEFAULT_OPERATOR
public static StringPreference[] values()
for (StringPreference c : StringPreference.values()) System.out.println(c);
public static StringPreference 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 String getKey()
Copyright © 2013–2014 CodeLutin. All rights reserved.