public static enum Container.Mode extends Enum<Container.Mode>
| Enum Constant and Description |
|---|
CREATE
to create a new key-value pair.
|
CREATE_OR_UPDATE
to create or update a new key-value pair: works like a standard Map.
|
UPDATE
to update only a key-value pair.
|
| Modifier and Type | Method and Description |
|---|---|
static Container.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Container.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Container.Mode CREATE
public static final Container.Mode CREATE_OR_UPDATE
public static final Container.Mode UPDATE
public static Container.Mode[] values()
for (Container.Mode c : Container.Mode.values()) System.out.println(c);
public static Container.Mode 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 © 2016–2021. All rights reserved.