protected static class Pointer.NativeDeallocator extends java.lang.ref.PhantomReference<Pointer>
Pointer.Deallocator that calls, during garbage collection, a native function.
Passes as arguments the ownerAddress and deallocatorAddress given to the constructor.| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
int |
count() |
void |
deallocate() |
boolean |
release() |
void |
retain() |
java.lang.String |
toString() |
public void deallocate()
deallocate in interface Pointer.Deallocatorpublic java.lang.String toString()
public void clear()
clear in class java.lang.ref.Reference<Pointer>public void retain()
retain in interface Pointer.ReferenceCounterpublic boolean release()
release in interface Pointer.ReferenceCounterpublic int count()
count in interface Pointer.ReferenceCounter