ocean v6.2.0 (2021-12-09T10:56:40Z)
Home
Dub
Repo
HashSet.buckets
ocean
util
container
HashSet
HashSet
Return the number of buckets
Time complexity: O(1)
size_t
buckets
()
class
HashSet
(V, alias Hash = Container.hash, alias Reap = Container.reap, alias Heap = Container.DefaultCollect)
final
size_t
buckets
(
)
HashSet
buckets
(size_t cap)
Meta
Source
See Implementation
ocean
util
container
HashSet
HashSet
aliases
Type
constructors
this
destructors
~this
functions
add
buckets
cache
check
clear
contains
dup
isEmpty
iterator
opApply
remove
replace
reset
size
take
threshold
toArray
Return the number of buckets
Time complexity: O(1)