T
- the reference value typeA
- the attachment typepublic interface Reference<T,A>
Reference
Modifier and Type | Interface and Description |
---|---|
static class |
Reference.Type
A reference type.
|
Modifier and Type | Method and Description |
---|---|
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.
|
T get()
null
if the reference has been cleared.A getAttachment()
void clear()
Reference.Type getType()
Copyright © 2015 JBoss, a division of Red Hat, Inc.