ConcurrentList
Object Hierarchy:
Gee.ConcurrentList
Gee.ConcurrentList
Gee.ConcurrentList
Gee.AbstractList
Gee.AbstractList
Gee.AbstractList->Gee.ConcurrentList
Gee.AbstractCollection
Gee.AbstractCollection
Gee.AbstractCollection->Gee.AbstractList
GLib.Object
GLib.Object
GLib.Object->Gee.AbstractCollection
Gee.Traversable
Gee.Traversable
Gee.Traversable->Gee.AbstractCollection
Gee.Iterable
Gee.Iterable
Gee.Iterable->Gee.AbstractCollection
Gee.Collection
Gee.Collection
Gee.Collection->Gee.AbstractCollection
Gee.List
Gee.List
Gee.List->Gee.AbstractList
Description:
public class ConcurrentList <
G > :
AbstractList <
G >
A single-linked list. This implementation is based on Mikhail
Fomitchev and Eric Ruppert paper .
Many threads are allowed to operate on the same structure as well as modification of structure during iteration is allowed. However the
change may not be immediately visible to other threads.
Content:
Properties:
Creation methods:
Methods:
public override G @get (int index)
public override void @set (int index, G item)
public override bool add (G item)
Adds an item to this collection. Must not be called on read-only
collections.
public override void clear ()
Removes all items from this collection. Must not be called on read-
only collections.
public override bool contains (G item)
Determines whether this collection contains the specified item.
public override int index_of (G item)
public override void insert (int index, G item)
public override Iterator <G > iterator ()
Returns a Iterator
that can be used for simple iteration over a collection.
public override ListIterator <G > list_iterator ()
public override bool remove (G item)
Removes the first occurrence of an item from this collection. Must not
be called on read-only collections.
public override G remove_at (int index)
public override List <G >? slice (int start, int end)
Inherited Members:
All known members inherited from class Gee.AbstractList
All known members inherited from class Gee.AbstractCollection
All known members inherited from class GLib.Object
@get
@new
@ref
@set
add_toggle_ref
add_weak_pointer
bind_property
connect
constructed
disconnect
dispose
dup_data
dup_qdata
force_floating
freeze_notify
get_class
get_data
get_property
get_qdata
get_type
getv
interface_find_property
interface_install_property
interface_list_properties
is_floating
new_valist
new_with_properties
newv
notify
notify_property
ref_count
ref_sink
remove_toggle_ref
remove_weak_pointer
replace_data
replace_qdata
set_data
set_data_full
set_property
set_qdata
set_qdata_full
set_valist
setv
steal_data
steal_qdata
thaw_notify
unref
watch_closure
weak_ref
weak_unref
All known members inherited from interface Gee.List
All known members inherited from interface Gee.Traversable
All known members inherited from interface Gee.Iterable
All known members inherited from interface Gee.Collection