public static enum CustomConcurrentHashMap.Strength extends java.lang.Enum<CustomConcurrentHashMap.Strength>
Reference
types.Modifier and Type | Field and Description |
---|---|
private java.lang.String |
name |
Modifier and Type | Method and Description |
---|---|
(package private) java.lang.String |
getName() |
static CustomConcurrentHashMap.Strength |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CustomConcurrentHashMap.Strength[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CustomConcurrentHashMap.Strength strong
public static final CustomConcurrentHashMap.Strength weak
public static final CustomConcurrentHashMap.Strength soft
public static CustomConcurrentHashMap.Strength[] values()
for (CustomConcurrentHashMap.Strength c : CustomConcurrentHashMap.Strength.values()) System.out.println(c);
public static CustomConcurrentHashMap.Strength valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nulljava.lang.String getName()