clear method

void clear ()
override

Removes all elements in the queue. The size of the queue becomes zero.

Implementation

void clear() {
  _baseQueue.clear();
}