public static enum ObjectRegistry.Keying extends java.lang.Enum<ObjectRegistry.Keying>
| Enum Constant and Description |
|---|
SINGLETON_ALLOWED
Prázdný klíč je povolen, jde tedy o jeden z platných klíčů.
|
SINGLETON_FORBIDDEN
Prázdný klíč je zakázaný, pokus o přístup k objektu prázdným klíčem
vyvolá výjimku
IllegalArgumentException. |
SINGLETON_LENIENT
Klíč je ignorován.
|
SINGLETON_STRICT
Klíč musí být prázdný (
null nebo
). |
| Modifier and Type | Method and Description |
|---|---|
static ObjectRegistry.Keying |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ObjectRegistry.Keying[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ObjectRegistry.Keying SINGLETON_LENIENT
public static final ObjectRegistry.Keying SINGLETON_STRICT
null nebo
LocalObjects.NULL_KEY). Pokus o přístup k
objektu neprázdným klíčem vyvolá výjimku
IllegalArgumentException.public static final ObjectRegistry.Keying SINGLETON_ALLOWED
public static final ObjectRegistry.Keying SINGLETON_FORBIDDEN
IllegalArgumentException.public static ObjectRegistry.Keying[] values()
for (ObjectRegistry.Keying c : ObjectRegistry.Keying.values()) System.out.println(c);
public static ObjectRegistry.Keying 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