public static enum EncodableList.BackingStore extends Enum<EncodableList.BackingStore>
Pre-defined backing stores for the EncodableList.
| Enum Constant and Description |
|---|
ARRAY
Pre-defined backing store that creates an
ArrayList. |
LINKED
Pre-defined backing store that creates a
LinkedList. |
| Modifier and Type | Method and Description |
|---|---|
protected abstract <E> List<E> |
createList() |
static EncodableList.BackingStore |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EncodableList.BackingStore[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EncodableList.BackingStore ARRAY
Pre-defined backing store that creates an ArrayList.
public static final EncodableList.BackingStore LINKED
Pre-defined backing store that creates a LinkedList.
public static EncodableList.BackingStore[] values()
for (EncodableList.BackingStore c : EncodableList.BackingStore.values()) System.out.println(c);
public static EncodableList.BackingStore 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 nullprotected abstract <E> List<E> createList()