com.sun.jna
public abstract class PointerType extends Object implements NativeMapped
Constructor Summary | |
---|---|
protected | PointerType() The default constructor wraps a NULL pointer. |
protected | PointerType(Pointer p) This constructor is typically used by PointerType if generating
a new object instance. |
Method Summary | |
---|---|
boolean | equals(Object o) Instances of PointerType with identical pointers compare
equal by default. |
Object | fromNative(Object nativeValue, FromNativeContext context) The default implementation simply creates a new instance of the class
and assigns its pointer field. |
Pointer | getPointer() Returns the associated native Pointer. |
int | hashCode() The hash code for a PointerType is the same as that for
its pointer. |
Class | nativeType() All PointerType classes represent a native Pointer. |
void | setPointer(Pointer p) |
Object | toNative() Convert this object to its native type (a Pointer). |
PointerType
with identical pointers compare
equal by default.PointerType
is the same as that for
its pointer.PointerType
classes represent a native Pointer.