org.gnu.glib
public class List extends Struct
Constructor and Description |
---|
List()
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.
|
List(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.
|
Modifier and Type | Method and Description |
---|---|
void |
append(int data)
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.
|
Handle |
first()
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.
|
void |
free()
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.
|
protected static Handle |
g_list_alloc()
Deprecated.
|
protected static Handle |
g_list_append(Handle list,
long data)
Deprecated.
|
protected static Handle |
g_list_first(Handle list)
Deprecated.
|
protected static void |
g_list_free(Handle list)
Deprecated.
|
protected static Handle |
g_list_insert(Handle list,
long data,
int position)
Deprecated.
|
protected static Handle |
g_list_last(Handle list)
Deprecated.
|
protected static int |
g_list_length(Handle list)
Deprecated.
|
protected static Handle |
g_list_next(Handle list)
Deprecated.
|
protected static Handle |
g_list_prepend(Handle list,
long data)
Deprecated.
|
protected static Handle |
g_list_previous(Handle list)
Deprecated.
|
protected static Handle |
g_list_remove_all(Handle list,
long data)
Deprecated.
|
protected static Handle |
g_list_remove(Handle list,
long data)
Deprecated.
|
protected static Handle |
getData(Handle obj)
Deprecated.
BEGINNING OF JNI CODE
|
void |
insert(int data,
int position)
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.
|
Handle |
last()
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.
|
int |
length()
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.
|
Handle |
next()
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.
|
void |
prepend(int data)
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.
|
Handle |
previous()
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.
|
void |
remove(int data)
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.
|
void |
removeAllInstances(int data)
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.
|
public List()
public List(Handle handle)
public void free()
public void append(int data)
data
- The handle of the object that is being added to the List.public void prepend(int data)
data
- The handle of the object that is being added to the List.public void insert(int data, int position)
data
- The handle of the object that is being added to the List.position
- The position to perform the insertion.public void remove(int data)
data
- The item to remove from the list. If two items contain the
same data only the first will be removed.public void removeAllInstances(int data)
data
- The item to remove from the List. This method will remove all
instances of the object pointed to by data.public int length()
public Handle first()
public Handle last()
public Handle next()
public Handle previous()
protected static final Handle g_list_insert(Handle list, long data, int position)
protected static final Handle g_list_remove_all(Handle list, long data)
protected static final void g_list_free(Handle list)
protected static final Handle g_list_alloc()
protected static final int g_list_length(Handle list)