clear method

void clear()

Removes all elements from the receiver.

Implementation

void clear() {
  _container.clear();
  _length = 0;
}