AbstractQueue.clear

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

<p>This implementation repeatedly invokes {@link #poll poll} until it returns {@code null}.

class AbstractQueue(E)
override
void
clear
()

Meta