tango ~master (2021-12-14T19:14:08.8989381)
Dub
Repo
HashMap.buckets
tango
util
container
HashMap
HashMap
Return the number of buckets
Time complexity: O(1)
size_t
buckets
()
class
HashMap
(K, V, alias Hash = Container.hash, alias Reap = Container.reap, alias Heap = Container.DefaultCollect)
final
size_t
buckets
(
)
HashMap
buckets
(size_t cap)
HashMap
buckets
(size_t cap, float threshold)
Meta
Source
See Implementation
tango
util
container
HashMap
HashMap
constructors
this
destructors
~this
functions
add
buckets
cache
check
clear
contains
containsKey
containsPair
get
isEmpty
iterator
keyOf
opApply
opIn_r
opIndex
opIndexAssign
remove
removeKey
replace
replaceKey
replacePair
reset
take
threshold
toArray
properties
dup
size
Return the number of buckets
Time complexity: O(1)