ocean v6.2.0 (2021-12-09T10:56:40Z)
Home
Dub
Repo
LinkedListQueue.clear
ocean
util
container
queue
LinkedListQueue
LinkedListQueue
Removes all items from the queue in O(n)
class
LinkedListQueue
(T, alias gc_tracking_policy = GCTrackingPolicy.refTypesOnly)
override
void
clear
(
)
Meta
Source
See Implementation
ocean
util
container
queue
LinkedListQueue
LinkedListQueue
functions
bottom
clear
contains
deleteItem
discardTop
empty
length
newItem
opApply
push
remove
top
static functions
isRootedValues
static variables
root_values
structs
QueueItem
variables
count
head
heap
tail
Removes all items from the queue in O(n)