Gee.Queue.drain Reference Manual
Packages
gee-1.0
Gee
Queue
UNBOUNDED_CAPACITY
capacity
remaining_capacity
is_full
offer
peek
poll
drain
drain
Description:
public
abstract
int
drain (
Collection
<
G
?> recipient,
int
amount = -1)
Drains the specified amount of elements from this queue in the specified recipient collection.
Parameters:
recipient
the recipient collection to drain the elements to
amount
the amount of elements to drain
Returns:
the amount of elements that were actually drained
Generated by
Valadoc