Gee.Deque

g GObject.GInterface GObject.GInterface Gee.Deque Gee.Deque GObject.GInterface->Gee.Deque

Implementations:

Gee.ArrayQueue, Gee.LinkedList, Gee.UnrolledLinkedList

Methods

drain_head (recipient, amount)

drain_tail (recipient, amount)

offer_head (element)

offer_tail (element)

peek_head ()

peek_tail ()

poll_head ()

poll_tail ()

Virtual Methods

do_drain_head (recipient, amount)

do_drain_tail (recipient, amount)

do_offer_head (element)

do_offer_tail (element)

do_peek_head ()

do_peek_tail ()

do_poll_head ()

do_poll_tail ()

Properties

None

Signals

None

Fields

None

Class Details

class Gee.Deque
Bases:

GObject.GInterface

Structure:

Gee.DequeIface

drain_head(recipient, amount)
Parameters:
Return type:

int

drain_tail(recipient, amount)
Parameters:
Return type:

int

offer_head(element)
Parameters:

element (object or None) –

Return type:

bool

offer_tail(element)
Parameters:

element (object or None) –

Return type:

bool

peek_head()
Return type:

object or None

peek_tail()
Return type:

object or None

poll_head()
Return type:

object or None

poll_tail()
Return type:

object or None

do_drain_head(recipient, amount) virtual
Parameters:
Return type:

int

do_drain_tail(recipient, amount) virtual
Parameters:
Return type:

int

do_offer_head(element) virtual
Parameters:

element (object or None) –

Return type:

bool

do_offer_tail(element) virtual
Parameters:

element (object or None) –

Return type:

bool

do_peek_head() virtual
Return type:

object or None

do_peek_tail() virtual
Return type:

object or None

do_poll_head() virtual
Return type:

object or None

do_poll_tail() virtual
Return type:

object or None