1.0.4 • Published 2 years ago
collectio-hashset v1.0.4
collectio-hashset
Install
npm i collectio-hashset
Description
Implementation of Set with a configurable equality algorithm
HashSet
new HashSet(equalityComparer)
- instance
size
: numberadd(value)
: HashSethas(value)
: booleandelete(value)
: booleanclear()
: undefinedforEach(callback)
: undefinedentries()
: Iterable.<any, any>values()
: Iterable.<any>[Symbol.iterator]()
: Iterable.<any>