collectio-hashset
Install
npm i collectio-hashset
Description
Implementation of Set with a configurable equality algorithm
-
HashSet
new HashSet(equalityComparer)
-
instance
-
size
:number
-
add(value)
:HashSet
-
has(value)
:boolean
-
delete(value)
:boolean
-
clear()
:undefined
-
forEach(callback)
:undefined
-
entries()
:Iterable.<[any, any]>
-
values()
:Iterable.<any>
-
[Symbol.iterator]()
:Iterable.<any>
-