clear method

void clear()

Removes all elements from the set.

The update behavior is determined by the ChangeType of the VN.

Implementation

void clear() {
  switch (changeType) {
    case ChangeType.hard:
      hardClear();
      break;
    case ChangeType.silent:
      silentClear();
      break;
    case ChangeType.smart:
      smartClear();
      break;
  }
}