public static enum ConcurrentReferenceHashMap.ReferenceType extends java.lang.Enum<ConcurrentReferenceHashMap.ReferenceType>
| Enum Constant and Description |
|---|
SOFT
Use
SoftReferences |
WEAK
Use
WeakReferences |
| Modifier and Type | Method and Description |
|---|---|
static ConcurrentReferenceHashMap.ReferenceType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ConcurrentReferenceHashMap.ReferenceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConcurrentReferenceHashMap.ReferenceType SOFT
SoftReferencespublic static final ConcurrentReferenceHashMap.ReferenceType WEAK
WeakReferencespublic static ConcurrentReferenceHashMap.ReferenceType[] values()
for (ConcurrentReferenceHashMap.ReferenceType c : ConcurrentReferenceHashMap.ReferenceType.values()) System.out.println(c);
public static ConcurrentReferenceHashMap.ReferenceType 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 null