clear method

void clear ()
override

Removes all elements in the set.

Implementation

void clear() {
  _length = 0;
  _root = null;
  ++_modCount;
}