T - the attachment value typepublic static final class Attachments.Key<T>
extends java.lang.Object
| Constructor and Description |
|---|
Key(java.lang.Class<T> type)
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Class<T> |
getType()
Get the attachment type class.
|
private final java.lang.Class<T> type
public Key(java.lang.Class<T> type)
type - the key type class.public java.lang.Class<T> getType()