public enum ListStyle extends Enum<ListStyle>
| Enum Constant and Description |
|---|
KeyValue
the key <> value, such as key=1,value='China'.
|
ObjectName
use see the name, but actually return a object
|
ObjectObject
user see a object, a object has many fields, so it could be a table
return a object
|
ValueValue
value-value means the value equals the key
|
| Modifier and Type | Method and Description |
|---|---|
static ListStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ListStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ListStyle ValueValue
public static final ListStyle KeyValue
public static final ListStyle ObjectName
public static final ListStyle ObjectObject
public static ListStyle[] values()
for (ListStyle c : ListStyle.values()) System.out.println(c);
public static ListStyle 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 © 2015. All Rights Reserved.