public enum ListMode extends Enum<ListMode>
| Enum Constant and Description |
|---|
Empty
Creates an empty list.
|
Null
Creates a null list.
|
NullItem
Creates a list with a null item.
|
Recursive
Creates a list with a valid item recursively.
|
| Modifier and Type | Method and Description |
|---|---|
static ListMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ListMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ListMode Null
public static final ListMode Empty
public static final ListMode NullItem
public static final ListMode Recursive
public static ListMode[] values()
for (ListMode c : ListMode.values()) System.out.println(c);
public static ListMode 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 © 2018. All rights reserved.