clear method

void clear()

Removes all elements and sets

Implementation

void clear() {
  _nodes.clear();
  _setCount = 0;
}