clear method
void
clear()
Removes all key-value pairs from the map.
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;
}
}