Queue
Iface
constructor
name
drain
get_
capacity
get_
is_
full
get_
remaining_
capacity
offer
peek
poll
GJS API Reference
Gee-0.8
Gee
QueueIface
Class QueueIface
Hierarchy
QueueIface
Index
Constructors
constructor
Properties
name
Methods
drain
get_
capacity
get_
is_
full
get_
remaining_
capacity
offer
peek
poll
Constructors
constructor
new
Queue
Iface
(
)
:
Gee
.
QueueIface
Returns
Gee
.
QueueIface
Properties
Static
name
name
:
string
Methods
drain
drain
(
self
:
Gee
.
Queue
, recipient
:
Gee
.
Collection
, amount
:
number
)
:
number
Parameters
self:
Gee
.
Queue
recipient:
Gee
.
Collection
amount:
number
Returns
number
get_
capacity
get_
capacity
(
self
:
Gee
.
Queue
)
:
number
Parameters
self:
Gee
.
Queue
Returns
number
get_
is_
full
get_
is_
full
(
self
:
Gee
.
Queue
)
:
boolean
Parameters
self:
Gee
.
Queue
Returns
boolean
get_
remaining_
capacity
get_
remaining_
capacity
(
self
:
Gee
.
Queue
)
:
number
Parameters
self:
Gee
.
Queue
Returns
number
offer
offer
(
self
:
Gee
.
Queue
, element
:
object
)
:
boolean
Parameters
self:
Gee
.
Queue
element:
object
Returns
boolean
peek
peek
(
self
:
Gee
.
Queue
)
:
object
Parameters
self:
Gee
.
Queue
Returns
object
poll
poll
(
self
:
Gee
.
Queue
)
:
object
Parameters
self:
Gee
.
Queue
Returns
object
Queue
Iface
constructor
name
drain
get_
capacity
get_
is_
full
get_
remaining_
capacity
offer
peek
poll
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHZWVfMF84LkdlZS5RdWV1ZUlmYWNlLmh0bWwjY29uc3RydWN0b3IiLCJuYW1lIjoiY29uc3RydWN0b3IiLCJjaGlsZHJlbiI6W10sImlzRXh0ZXJuIjpmYWxzZSwiaXNJbnRlcm4iOnRydWV9LHsiY2xhc3NOYW1lcyI6In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