removeAll abstract method

Iterable<E> removeAll()

Removes all the elements from this queue and returns them.

The returned iterable has no specified order.

Implementation

Iterable<E> removeAll();