public static enum CustomConcurrentHashMap.Strength extends Enum<CustomConcurrentHashMap.Strength>
Reference
types.Modifier and Type | Method and Description |
---|---|
static CustomConcurrentHashMap.Strength |
valueOf(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(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 null