ocean ~v6.x.x (2022-01-14T16:08:36.1174149)
Dub
Repo
HashSet.buckets
ocean
util
container
HashSet
HashSet
Set the number of buckets and resize as required
Time complexity: O(n)
size_t
buckets
()
HashSet
buckets
(size_t cap)
class
HashSet
(V, alias Hash = Container.hash, alias Reap = Container.reap, alias Heap = Container.DefaultCollect)
final
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
Set the number of buckets and resize as required
Time complexity: O(n)