collections ~master (2022-05-06T22:22:30.7373307)
Dub
Repo
Hashtable.clear
stdx
collections
hashtable
Hashtable
Removes all the elements in the current hashtable.
Complexity:
O
(length)
.
struct
Hashtable
(K, V)
void
clear
(
)
Meta
Source
See Implementation
stdx
collections
hashtable
Hashtable
constructors
this
functions
clear
empty
front
get
insert
keyValuePairs
keys
length
opAssign
opBinary
opIndex
opIndexAssign
opIndexOpAssign
opIndexUnary
popFront
rehash
remove
size
values
Removes all the elements in the current hashtable.
Complexity: O(length).