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}.
See Implementation
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}.