clear method
Removes all memory records from the memory system.
Implementation
MemorySystem clear() {
records.length = 0;
recordsMap.clear();
return this;
}
Removes all memory records from the memory system.
MemorySystem clear() {
records.length = 0;
recordsMap.clear();
return this;
}