public static enum KeyValue.DisplayPolicy extends java.lang.Enum<KeyValue.DisplayPolicy>
Enum Constant and Description |
---|
CONSOLIDATE |
EXPAND |
NONE |
Modifier and Type | Method and Description |
---|---|
void |
add(java.lang.String name) |
static KeyValue.DisplayPolicy |
getDisplayPolicy(int displayValue) |
static int |
parse(java.lang.String name) |
int |
toInt() |
static KeyValue.DisplayPolicy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static KeyValue.DisplayPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KeyValue.DisplayPolicy NONE
public static final KeyValue.DisplayPolicy CONSOLIDATE
public static final KeyValue.DisplayPolicy EXPAND
public static KeyValue.DisplayPolicy[] values()
for (KeyValue.DisplayPolicy c : KeyValue.DisplayPolicy.values()) System.out.println(c);
public static KeyValue.DisplayPolicy valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic void add(java.lang.String name)
public static int parse(java.lang.String name)
public static KeyValue.DisplayPolicy getDisplayPolicy(int displayValue)
public int toInt()