Implementation of Map with a configurable equality algorithm
npm install collectio-hashmap




Implementation of Map with a configurable equality algorithm
- HashMap
- new HashMap(equalityComparer)
- _instance_
- .size : number
- .get(key) : any
- .set(key, value) : HashMap
- .has(key) : boolean
- .delete(key) : boolean
- .clear() : undefined
- .forEach(callbackfn) : undefined
- .entries() : Iterable<[any, any]>
- .keys() : Iterable<any>
- .values() : Iterable<any>
- [[Symbol.iterator]()](https://github.com/litichevskiydv/collectio-hashmap/wiki/Symbol.iterator) : Iterable<[any, any]>