equals
public boolean equals(Object other)
Check if two objects refer to the same (native) object.
other
- the reference object with which to compare.
- true if both objects refer to the same object.
getHandle
public final Handle getHandle()
Get the raw handle value. This value
should never be modified by the application. It's
sole use is to pass to native methods.
- the handle value.
getNullHandle
public static final Handle getNullHandle()
Get a native handle that refers to a null pointer.
hashCode
public int hashCode()
Returns a hash code value for the object. This allows for
using Struct as keys in hashmaps.
- a hash code value for the object.
setHandle
protected void setHandle(Handle hndl)
Sets this object's native handle.