public class JavaNativeRef<T> extends NativeObject
NativeObject.Allocator<T>address, isExternallyAllocated| Modifier | Constructor and Description |
|---|---|
protected |
JavaNativeRef(long address) |
|
JavaNativeRef(java.lang.Object javaRef) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
static <T> JavaNativeRef<T> |
fromNativeObject(NativeObject nativeObj) |
T |
get() |
checkNotNull, equals, getAddress, hashCode, wrapPointerprotected JavaNativeRef(long address)
public JavaNativeRef(java.lang.Object javaRef)
public static <T> JavaNativeRef<T> fromNativeObject(NativeObject nativeObj)
public T get()
public void destroy()