public static enum AbstractMostlySingleton.State extends Enum<AbstractMostlySingleton.State>
Enum Constant and Description |
---|
ANY
A set of arbitrary size.
|
EMPTY
An empty set.
|
SINGLETON
A singleton set.
|
Modifier and Type | Method and Description |
---|---|
static AbstractMostlySingleton.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AbstractMostlySingleton.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AbstractMostlySingleton.State EMPTY
public static final AbstractMostlySingleton.State SINGLETON
public static final AbstractMostlySingleton.State ANY
public static AbstractMostlySingleton.State[] values()
for (AbstractMostlySingleton.State c : AbstractMostlySingleton.State.values()) System.out.println(c);
public static AbstractMostlySingleton.State 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