Interface Reference<T,A>
- Type Parameters:
T- the reference value typeA- the attachment type
- All Known Implementing Classes:
PhantomReference, SoftReference, StrongReference, WeakReference
public interface Reference<T,A>
An enhanced reference type with a type-safe attachment.
- See Also:
-
Method Details
-
get
-
getAttachment
-
clear
void clear()Clear the reference. -
getType
-