|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gnu.glib.Struct
public class Struct
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(java.lang.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. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected Struct()
public Struct(Handle handle)
handle
- The handle that represents a pointer to a native resource.Method Detail |
---|
public final Handle getHandle()
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
other
- the reference object with which to compare.
public int hashCode()
hashCode
in class java.lang.Object
protected void setHandle(Handle hndl)
public static final Handle getNullHandle()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |