|
JBoss Modules 1.0.2.GA | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Reference.Type>
org.jboss.modules.ref.Reference.Type
public static enum Reference.Type
A reference type.
Enum Constant Summary | |
---|---|
NULL
A null reference. |
|
PHANTOM
A phantom reference. |
|
SOFT
A soft reference. |
|
STRONG
A strong reference. |
|
WEAK
A weak reference. |
Method Summary | |
---|---|
static Reference.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Reference.Type[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Reference.Type STRONG
public static final Reference.Type WEAK
public static final Reference.Type PHANTOM
public static final Reference.Type SOFT
public static final Reference.Type NULL
null
reference.
Method Detail |
---|
public static Reference.Type[] values()
for (Reference.Type c : Reference.Type.values()) System.out.println(c);
public static Reference.Type valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
JBoss Modules 1.0.2.GA | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |