enqueue

open suspend override fun enqueue(value: T): Node<T>(source)

Enqueues a new element into the queue.

Return

the node that was added to the queue.

Parameters

value

the value to enqueue.