public static enum IdReadWriteLock.ReferenceType extends Enum<IdReadWriteLock.ReferenceType>
Modifier and Type | Method and Description |
---|---|
static IdReadWriteLock.ReferenceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IdReadWriteLock.ReferenceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IdReadWriteLock.ReferenceType WEAK
public static final IdReadWriteLock.ReferenceType SOFT
public static IdReadWriteLock.ReferenceType[] values()
for (IdReadWriteLock.ReferenceType c : IdReadWriteLock.ReferenceType.values()) System.out.println(c);
public static IdReadWriteLock.ReferenceType 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 © 2007–2020 The Apache Software Foundation. All rights reserved.