public class ReferenceManager
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static <T> T |
addKeepAliveReference(T ref,
RefCountedObject target)
Adds a link from ref to target that keeps target alive
whilst ref is alive.
|
public static <T> T addKeepAliveReference(T ref, RefCountedObject target)
ref
- target
-