clear method

void clear()
override

Removes all elements from the set.

Implementation

void clear() {
  _set.clear();
  refresh();
}