public static enum LinkMap.Changes extends Enum<LinkMap.Changes>
LinkMap(Map, Map, Changes)| Enum Constant and Description |
|---|
BOTH
Changes are reflected in the both maps
|
CONSERVE
Changes are reflected in the first map, but before that, the old value is copied to the second map (unless a mapping is already in that map).
|
FIRST
Changes are reflected in the 'first' map only.
|
NONE
No changes are allowed.
|
SECOND
Changes are reflected in the 'second' map, map1 remains unmodified.
|
| Modifier and Type | Method and Description |
|---|---|
static LinkMap.Changes |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LinkMap.Changes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LinkMap.Changes FIRST
public static final LinkMap.Changes SECOND
public static final LinkMap.Changes BOTH
public static final LinkMap.Changes CONSERVE
public static final LinkMap.Changes NONE
UnsupportedOperationException)public static LinkMap.Changes[] values()
for (LinkMap.Changes c : LinkMap.Changes.values()) System.out.println(c);
public static LinkMap.Changes 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 nullMMBase 1.9-SNAPSHOT - ${javadoctimestamp}