AbstractCollection
Object Hierarchy:
Description:
public abstract class AbstractCollection<
G> :
Object,
Traversable<
G>,
Iterable<
G>,
Collection<
G>
Content:
Properties:
Creation methods:
Methods:
- public virtual bool @foreach (ForallFunc<G> f)
- public abstract bool add (G item)
Adds an item to this collection. Must not be called on read-only
collections.
- public abstract void clear ()
Removes all items from this collection. Must not be called on read-only
collections.
- public abstract bool contains (G item)
Determines whether this collection contains the specified item.
- public abstract Iterator<G> iterator ()
Returns a Iterator
that can be used for simple iteration over a collection.
- public abstract bool remove (G item)
Removes the first occurrence of an item from this collection. Must not be
called on read-only collections.
Inherited Members:
All known members inherited from class GLib.Object
All known members inherited from interface Gee.Traversable
All known members inherited from interface Gee.Iterable
All known members inherited from interface Gee.Collection