org.gnu.glib

Class List


public class List
extends Struct

Constructor Summary

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.

Method Summary

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()
protected static Handle
g_list_append(Handle list, long data)
protected static Handle
g_list_first(Handle list)
protected static void
g_list_free(Handle list)
protected static Handle
g_list_insert(Handle list, long data, int position)
protected static Handle
g_list_last(Handle list)
protected static int
g_list_length(Handle list)
protected static Handle
g_list_next(Handle list)
protected static Handle
g_list_prepend(Handle list, long data)
protected static Handle
g_list_previous(Handle list)
protected static Handle
g_list_remove(Handle list, long data)
protected static Handle
g_list_remove_all(Handle list, long data)
protected static Handle
getData(Handle obj)
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.

Methods inherited from class org.gnu.glib.Struct

equals, getHandle, getNullHandle, hashCode, setHandle

Constructor Details

List

public 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.

Construct a List object

List

public 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.

Contruct a List object using a given handle. This constructor is used by the libraries internally to construct the object with the handle returned by a native method.

Method Details

append

public 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.

Append an element to the end of the list.
Parameters:
data - The handle of the object that is being added to the List.

first

public 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.

Return the first element from the List. This method will also reposition the current list item to the beginning of the list.
Returns:
The first element from the List.

free

public 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.

Release the resources associated with this object.

g_list_alloc

protected static final Handle g_list_alloc()

g_list_append

protected static final Handle g_list_append(Handle list,
                                            long data)

g_list_first

protected static final Handle g_list_first(Handle list)

g_list_free

protected static final void g_list_free(Handle list)

g_list_insert

protected static final Handle g_list_insert(Handle list,
                                            long data,
                                            int position)

g_list_last

protected static final Handle g_list_last(Handle list)

g_list_length

protected static final int g_list_length(Handle list)

g_list_next

protected static final Handle g_list_next(Handle list)

g_list_prepend

protected static final Handle g_list_prepend(Handle list,
                                             long data)

g_list_previous

protected static final Handle g_list_previous(Handle list)

g_list_remove

protected static final Handle g_list_remove(Handle list,
                                            long data)

g_list_remove_all

protected static final Handle g_list_remove_all(Handle list,
                                                long data)

getData

protected static final Handle getData(Handle obj)
BEGINNING OF JNI CODE

insert

public 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.

Insert an element at a specified location in the List.
Parameters:
data - The handle of the object that is being added to the List.
position - The position to perform the insertion.

last

public 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.

Return the last element from the List. This method will also reposition the current list item to the end of the list.
Returns:
The last element from the List.

length

public 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.

Return the number of elements contained in the List.
Returns:
The number of elements in the List.

next

public 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.

Return the next element in the List. This method will also move the current list item forward one element.
Returns:
The next element from the List.

prepend

public 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.

Prepend an element to the end of the list.
Parameters:
data - The handle of the object that is being added to the List.

previous

public 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.

Return the previous element in the List. This method will also move the current list item backward one element.
Returns:
The previous element from the List.

remove

public 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.

Remove the first instance of an element from the List.
Parameters:
data - The item to remove from the list. If two items contain the same data only the first will be removed.

removeAllInstances

public 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.

Remove all instances of an element from the List.
Parameters:
data - The item to remove from the List. This method will remove all instances of the object pointed to by data.