public static enum AttributesMap.Config extends Enum<AttributesMap.Config> implements Supplier<AttributesMap.Builder>
| Enum Constant and Description |
|---|
ALLOW_NULL_VALUES
If one needs to be able to retrieve
null values from an AttributeMap,
this Config switch can be passed to the builder. |
| Modifier and Type | Method and Description |
|---|---|
AttributesMap.Builder |
get() |
static AttributesMap.Config |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AttributesMap.Config[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AttributesMap.Config ALLOW_NULL_VALUES
null values from an AttributeMap,
this Config switch can be passed to the builder. By default, the AttributesMap.Builder will ignore any
values which are null, and consequently the resulting AttributesMap will throw an exception if one tries
to get a particular value which was null.public static AttributesMap.Config[] values()
for (AttributesMap.Config c : AttributesMap.Config.values()) System.out.println(c);
public static AttributesMap.Config 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 nullpublic AttributesMap.Builder get()
get in interface Supplier<AttributesMap.Builder>Copyright © 2018 Digipost. All rights reserved.