Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/litichevskiydv/collectio-hashmap

Implementation of Map with a configurable equality algorithm
https://github.com/litichevskiydv/collectio-hashmap

Last synced: 8 days ago
JSON representation

Implementation of Map with a configurable equality algorithm

Awesome Lists containing this project

README

        

# collectio-hashmap

[![npm version](https://badge.fury.io/js/collectio-hashmap.svg)](https://www.npmjs.com/package/collectio-hashmap)
[![npm downloads](https://img.shields.io/npm/dt/collectio-hashmap.svg)](https://www.npmjs.com/package/collectio-hashmap)
[![dependencies status](https://img.shields.io/librariesio/github/litichevskiydv/collectio-hashmap)](https://www.npmjs.com/package/collectio-hashmap)
[![Build Status](https://github.com/litichevskiydv/collectio-hashmap/actions/workflows/ci.yaml/badge.svg?branch=master)](https://github.com/litichevskiydv/collectio-hashmap/actions/workflows/ci.yaml)
[![Coverage Status](https://coveralls.io/repos/github/litichevskiydv/collectio-hashmap/badge.svg?branch=master)](https://coveralls.io/github/litichevskiydv/collectio-hashmap?branch=master)

Implementation of Map with a configurable equality algorithm

- [HashMap](https://github.com/litichevskiydv/collectio-hashmap/wiki/Home)
- [`new HashMap(equalityComparer)`](https://github.com/litichevskiydv/collectio-hashmap/wiki/constructor)
- _instance_
- [`.size`](https://github.com/litichevskiydv/collectio-hashmap/wiki/size) : number
- [`.get(key)`](https://github.com/litichevskiydv/collectio-hashmap/wiki/get) : any
- [`.set(key, value)`](https://github.com/litichevskiydv/collectio-hashmap/wiki/set) : [HashMap](Home)
- [`.has(key)`](https://github.com/litichevskiydv/collectio-hashmap/wiki/has) : boolean
- [`.delete(key)`](https://github.com/litichevskiydv/collectio-hashmap/wiki/delete) : boolean
- [`.clear()`](https://github.com/litichevskiydv/collectio-hashmap/wiki/clear) : undefined
- [`.forEach(callbackfn)`](https://github.com/litichevskiydv/collectio-hashmap/wiki/forEach) : undefined
- [`.entries()`](https://github.com/litichevskiydv/collectio-hashmap/wiki/entries) : Iterable<[any, any]>
- [`.keys()`](https://github.com/litichevskiydv/collectio-hashmap/wiki/keys) : Iterable<any>
- [`.values()`](https://github.com/litichevskiydv/collectio-hashmap/wiki/values) : Iterable<any>
- [`[Symbol.iterator]()`](https://github.com/litichevskiydv/collectio-hashmap/wiki/Symbol.iterator) : Iterable<[any, any]>