clear

open override fun clear()

Atomically removes all of the elements from this queue. The queue will be empty after this call returns.