public enum UpdateResult extends Enum<UpdateResult>
ChronicleMap.update(Object, Object)
operation.Enum Constant and Description |
---|
INSERT
The new entry was put into the Chronicle Map.
|
UNCHANGED
The exiting entry was checked, it maps to the same value, as was going to be put.
|
UPDATE
The existing entry was updated, the previous value differs from the value was put.
|
Modifier and Type | Method and Description |
---|---|
static UpdateResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UpdateResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UpdateResult INSERT
public static final UpdateResult UPDATE
public static final UpdateResult UNCHANGED
public static UpdateResult[] values()
for (UpdateResult c : UpdateResult.values()) System.out.println(c);
public static UpdateResult 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 © 2017. All rights reserved.