Pointer
Pointer class to handle pointers.
Have automatic cleanup with using releasers.
releasers
Constructs a Pointer object for a native pointer with a given releaser.
Constructs a Pointer object for a native pointer without releaser.
equals
Returns true if the peers are pointing to the same memory space.
finalize
Invokes the releaser’s Releaser.release(long) method.
releaser
Releaser.release(long)
getPeer
Returns the native pointer.
hasReleaser
Return true if the pointer has a releaser.
setPeer
Sets the native pointer.