collectio-hashmap
v1.0.4
Published
Implementation of Map with a configurable equality algorithm
Maintainers
Readme
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](): Iterable<[any, any]>
