Removes all of the mappings from this map.
Removes all of the mappings from this map. The map will be empty after this call returns.Note: The memory of the entries cleared is freed.
For hash maps this method has a time complexity of O(N). For tree maps this method has a time complexity of O(N * Log N).