ocean v6.2.0 (2021-12-09T10:56:40Z)
Home
Dub
Repo
HashSet.threshold
ocean
util
container
HashSet
HashSet
Set the resize threshold, and resize as required
Time complexity: O(n)
float
threshold
()
void
threshold
(float desired)
class
HashSet
(V, alias Hash = Container.hash, alias Reap = Container.reap, alias Heap = Container.DefaultCollect)
final
void
threshold
(
float
desired
)
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 resize threshold, and resize as required
Time complexity: O(n)