protected static enum ReferenceMap.PutStrategy extends Enum<ReferenceMap.PutStrategy> implements ReferenceMap.Strategy
Enum Constant and Description |
---|
PUT |
PUT_IF_ABSENT |
REPLACE |
Modifier and Type | Method and Description |
---|---|
static ReferenceMap.PutStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReferenceMap.PutStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
execute
public static final ReferenceMap.PutStrategy PUT
public static final ReferenceMap.PutStrategy REPLACE
public static final ReferenceMap.PutStrategy PUT_IF_ABSENT
public static ReferenceMap.PutStrategy[] values()
for (ReferenceMap.PutStrategy c : ReferenceMap.PutStrategy.values()) System.out.println(c);
public static ReferenceMap.PutStrategy 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 © 2013. All Rights Reserved.