|
JBoss Modules 1.1.2.GA | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- the reference value typeA
- the attachment typepublic interface Reference<T,A>
An enhanced reference type with a type-safe attachment.
Reference
Nested Class Summary | |
---|---|
static class |
Reference.Type
A reference type. |
Method Summary | |
---|---|
void |
clear()
Clear the reference. |
T |
get()
Get the value, or null if the reference has been cleared. |
A |
getAttachment()
Get the attachment, if any. |
Reference.Type |
getType()
Get the type of the reference. |
Method Detail |
---|
T get()
null
if the reference has been cleared.
A getAttachment()
void clear()
Reference.Type getType()
|
JBoss Modules 1.1.2.GA | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |