public static enum CollectionsFactory.Mode extends Enum<CollectionsFactory.Mode>
currently
returned by the factory.Enum Constant and Description |
---|
DETERMINISTIC_ITERATION_ORDER
Denotes collections that have a deterministic iteration order over their keys/entries.
|
STANDARD
|
Modifier and Type | Method and Description |
---|---|
static CollectionsFactory.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CollectionsFactory.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CollectionsFactory.Mode STANDARD
public static final CollectionsFactory.Mode DETERMINISTIC_ITERATION_ORDER
public static CollectionsFactory.Mode[] values()
for (CollectionsFactory.Mode c : CollectionsFactory.Mode.values()) System.out.println(c);
public static CollectionsFactory.Mode 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 null