AbstractQueue
Object Hierarchy:
Description:
public abstract class AbstractQueue<
G> :
AbstractCollection<
G>,
Queue<
G>
Skeletal implementation of the Queue interface.
Contains common code shared by all queue implementations.
See also:
PriorityQueue
Content:
Properties:
- public abstract int capacity { get; }
The capacity of this queue (or UNBOUNDED_CAPACITY
if capacity
is not bound).
- public abstract bool is_full { get; }
Specifies whether this queue is full.
- public abstract int remaining_capacity { get; }
The remaining capacity of this queue (or UNBOUNDED_CAPACITY
if
capacity is not bound).
Creation methods:
Methods:
- public abstract G peek ()
Peeks (retrieves, but not remove) an element from this queue.
- public abstract G poll ()
Polls (retrieves and remove) an element from this queue.
Inherited Members:
All known members inherited from class Gee.AbstractCollection
All known members inherited from class GLib.Object
All known members inherited from interface Gee.Queue
All known members inherited from interface Gee.Traversable
All known members inherited from interface Gee.Iterable
All known members inherited from interface Gee.Collection