public static enum AbstractMostlySingleton.State extends java.lang.Enum<AbstractMostlySingleton.State>
Modifier and Type | Method and Description |
---|---|
static AbstractMostlySingleton.State |
valueOf(java.lang.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(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null