java.io.Serializable, java.lang.Comparable<ConcurrentReferenceHashMap.ReferenceType>public static enum ConcurrentReferenceHashMap.ReferenceType extends java.lang.Enum<ConcurrentReferenceHashMap.ReferenceType>
| Enum Constant | Description |
|---|---|
SOFT |
Use
SoftReferences. |
WEAK |
Use
WeakReferences. |
| Modifier and Type | Method | 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
SoftReferences.public static final ConcurrentReferenceHashMap.ReferenceType WEAK
WeakReferences.public 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 nullCopyright © 2008–2018 The Aspectran Project. All rights reserved.