Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.gnu.glib.Struct
public class Struct
extends java.lang.Object
Constructor Summary | |
| |
Method Summary | |
boolean |
|
Handle |
|
static Handle |
|
int |
|
protected void |
protected Struct()
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Create an uninitialized instance. This has potential uses for derived classes.
public Struct(Handle handle)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Create a new Struct with a handle to a native resource returned from a call to the native libraries.
- Parameters:
handle
- The handle that represents a pointer to a native resource.
public boolean equals(Object other)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Check if two objects refer to the same (native) object.
- Parameters:
other
- the reference object with which to compare.
- Returns:
- true if both objects refer to the same object.
public final Handle getHandle()
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Get the raw handle value. This value should never be modified by the application. It's sole use is to pass to native methods.
- Returns:
- the handle value.
public static final Handle getNullHandle()
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Get a native handle that refers to a null pointer.
public int hashCode()
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Returns a hash code value for the object. This allows for using Struct as keys in hashmaps.
- Returns:
- a hash code value for the object.
protected void setHandle(Handle hndl)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Sets this object's native handle.