HashMap.clear

Clears the HashMap contents. Various attributes are retained, such as the internal table itself. Invoke reset() to drop everything.

Time complexity: O(n)

class HashMap(K, V, alias Hash = Container.hash, alias Reap = Container.reap, alias Heap = Container.DefaultCollect)
final
clear
()

Meta