org.gnu.glib
Class Boxed
public class Boxed
extends java.lang.Object
Base class for all classes resulting from a define-boxed
in a .defs
file.
boolean | equals(Object other) - Check if two objects refer to the same (native) object.
|
Handle | getHandle() - Get the raw handle value.
|
int | hashCode() - Returns a hash code value for the object.
|
protected void | setHandle(Handle handle)
|
handle
protected Handle handle
holder for the raw GLib/GTK pointer
Boxed
protected Boxed()
This class is only instantiable via subclasses.
Boxed
protected Boxed(Handle handle)
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.
- the handle value.
hashCode
public int hashCode()
Returns a hash code value for the object. This allows for
using Boxed objects as keys in hashmaps.
- a hash code value for the object.
setHandle
protected void setHandle(Handle handle)