public enum DictionaryEntryNotFoundBehavior extends Enum<DictionaryEntryNotFoundBehavior>
| Enum Constant and Description |
|---|
EXCEPTION
A
DictionaryKeyNotFoundException exception
will be thrown. |
RETURN_EMPTY_STRING
Returns an empty string
|
RETURN_KEY
Returns the key itself.
|
| Modifier and Type | Method and Description |
|---|---|
static DictionaryEntryNotFoundBehavior |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DictionaryEntryNotFoundBehavior[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DictionaryEntryNotFoundBehavior EXCEPTION
DictionaryKeyNotFoundException exception
will be thrown.public static final DictionaryEntryNotFoundBehavior RETURN_KEY
public static final DictionaryEntryNotFoundBehavior RETURN_EMPTY_STRING
public static DictionaryEntryNotFoundBehavior[] values()
for (DictionaryEntryNotFoundBehavior c : DictionaryEntryNotFoundBehavior.values()) System.out.println(c);
public static DictionaryEntryNotFoundBehavior 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 © 2018. All rights reserved.