org.gnu.glib
public class Struct extends Object
Constructor Summary | |
---|---|
protected | Struct()
Create an uninitialized instance. |
Struct(Handle handle)
Create a new Struct with a handle to a native resource returned from a
call to the native libraries.
|
Method Summary | |
---|---|
boolean | equals(Object other)
Check if two objects refer to the same (native) object.
|
Handle | getHandle()
Get the raw handle value. |
static Handle | getNullHandle()
Get a native handle that refers to a null pointer. |
int | hashCode()
Returns a hash code value for the object. |
protected void | setHandle(Handle hndl)
Sets this object's native handle. |
Parameters: handle The handle that represents a pointer to a native resource.
Parameters: other the reference object with which to compare.
Returns: true if both objects refer to the same object.
Returns: the handle value.
Returns: a hash code value for the object.