public static enum C.Feature extends Enum<C.Feature>
| Enum Constant and Description |
|---|
IMMUTABLE
Indicate whether a structure is immutable
|
LAZY
Indicate whether the structure supports lazy evaluation
|
LIMITED
Indicate whether the structure is limited
|
ORDERED
Indicate whether this structure is ordered.
|
PARALLEL
Indicate whether the structure support parallel operation
|
RANDOM_ACCESS
Indicate whether a list structure support random access
|
READONLY
Indicate the client cannot modify the structure.
|
SORTED
Indicate whether this structure is sorted
|
| Modifier and Type | Method and Description |
|---|---|
static C.Feature |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static C.Feature[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final C.Feature IMMUTABLE
public static final C.Feature READONLY
public static final C.Feature RANDOM_ACCESS
public static final C.Feature LIMITED
public static final C.Feature LAZY
public static final C.Feature PARALLEL
public static final C.Feature ORDERED
List and LinkedHashSet is ordered
structure, while HashSet might not be
orderedpublic static final C.Feature SORTED
public static C.Feature[] values()
for (C.Feature c : C.Feature.values()) System.out.println(c);
public static C.Feature 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 © 2017. All Rights Reserved.