1.0.4 • Published 2 years ago
collectio-hashmap v1.0.4
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>