remove

fun remove(element: E): Boolean(source)

Removes the specified element from the queue.

Return

true if the element was removed, false otherwise.

Parameters

element

The element to be removed.