├── .editorconfig ├── .github ├── ISSUE_TEMPLATE.md └── PULL_REQUEST_TEMPLATE.md ├── .gitignore ├── .npmignore ├── .travis.yml ├── .vscode └── settings.json ├── CHANGELOG.md ├── CONTRIBUTING.md ├── LICENSE.md ├── README.md ├── dist ├── typed-hashmap.js ├── typed-hashmap.js.map └── typed-hashmap.min.js ├── northbrook.ts ├── package.json ├── rollup.config.js ├── src ├── HashMap │ ├── HashMap.ts │ ├── empty.ts │ ├── entries.ts │ ├── filter.ts │ ├── forEach.ts │ ├── from.ts │ ├── get.ts │ ├── has.ts │ ├── index.ts │ ├── keys.ts │ ├── map.ts │ ├── primitives │ │ ├── findHash.ts │ │ ├── fold.ts │ │ ├── getHash.ts │ │ ├── getNode.ts │ │ ├── getSize.ts │ │ ├── index.ts │ │ ├── iterateMap.ts │ │ ├── setKeyValue.ts │ │ └── setTree.ts │ ├── reduce.ts │ ├── remove.ts │ ├── set.ts │ ├── size.ts │ └── values.ts ├── common │ ├── array-operations.ts │ ├── bitwise-operations.test.ts │ ├── bitwise-operations.ts │ ├── constants.ts │ ├── index.ts │ ├── stringHash.test.ts │ └── stringHash.ts ├── index.ts └── nodes │ ├── ArrayNode │ ├── ArrayNode.ts │ ├── index.ts │ └── toIndexNode.ts │ ├── CollisionNode │ ├── CollisionNode.ts │ ├── index.ts │ └── newCollisionList.ts │ ├── EmptyNode.ts │ ├── IndexedNode │ ├── IndexedNode.ts │ ├── index.ts │ └── toArrayNode.ts │ ├── LeafNode │ ├── LeafNode.ts │ ├── combineLeafNodes.ts │ └── index.ts │ ├── constants.ts │ ├── index.ts │ └── types.ts ├── tsconfig.json └── tslint.json /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/typed-hashmap/HEAD/.editorconfig -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/typed-hashmap/HEAD/.github/ISSUE_TEMPLATE.md -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/typed-hashmap/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/typed-hashmap/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/typed-hashmap/HEAD/.travis.yml -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/typed-hashmap/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/typed-hashmap/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/typed-hashmap/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/typed-hashmap/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/typed-hashmap/HEAD/README.md -------------------------------------------------------------------------------- /dist/typed-hashmap.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/typed-hashmap/HEAD/dist/typed-hashmap.js -------------------------------------------------------------------------------- /dist/typed-hashmap.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/typed-hashmap/HEAD/dist/typed-hashmap.js.map -------------------------------------------------------------------------------- /dist/typed-hashmap.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/typed-hashmap/HEAD/dist/typed-hashmap.min.js -------------------------------------------------------------------------------- /northbrook.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/typed-hashmap/HEAD/northbrook.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/typed-hashmap/HEAD/package.json -------------------------------------------------------------------------------- /rollup.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/typed-hashmap/HEAD/rollup.config.js -------------------------------------------------------------------------------- /src/HashMap/HashMap.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/typed-hashmap/HEAD/src/HashMap/HashMap.ts -------------------------------------------------------------------------------- /src/HashMap/empty.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/typed-hashmap/HEAD/src/HashMap/empty.ts -------------------------------------------------------------------------------- /src/HashMap/entries.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/typed-hashmap/HEAD/src/HashMap/entries.ts -------------------------------------------------------------------------------- /src/HashMap/filter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/typed-hashmap/HEAD/src/HashMap/filter.ts -------------------------------------------------------------------------------- /src/HashMap/forEach.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/typed-hashmap/HEAD/src/HashMap/forEach.ts -------------------------------------------------------------------------------- /src/HashMap/from.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/typed-hashmap/HEAD/src/HashMap/from.ts -------------------------------------------------------------------------------- /src/HashMap/get.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/typed-hashmap/HEAD/src/HashMap/get.ts -------------------------------------------------------------------------------- /src/HashMap/has.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/typed-hashmap/HEAD/src/HashMap/has.ts -------------------------------------------------------------------------------- /src/HashMap/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/typed-hashmap/HEAD/src/HashMap/index.ts -------------------------------------------------------------------------------- /src/HashMap/keys.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/typed-hashmap/HEAD/src/HashMap/keys.ts -------------------------------------------------------------------------------- /src/HashMap/map.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/typed-hashmap/HEAD/src/HashMap/map.ts -------------------------------------------------------------------------------- /src/HashMap/primitives/findHash.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/typed-hashmap/HEAD/src/HashMap/primitives/findHash.ts -------------------------------------------------------------------------------- /src/HashMap/primitives/fold.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/typed-hashmap/HEAD/src/HashMap/primitives/fold.ts -------------------------------------------------------------------------------- /src/HashMap/primitives/getHash.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/typed-hashmap/HEAD/src/HashMap/primitives/getHash.ts -------------------------------------------------------------------------------- /src/HashMap/primitives/getNode.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/typed-hashmap/HEAD/src/HashMap/primitives/getNode.ts -------------------------------------------------------------------------------- /src/HashMap/primitives/getSize.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/typed-hashmap/HEAD/src/HashMap/primitives/getSize.ts -------------------------------------------------------------------------------- /src/HashMap/primitives/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/typed-hashmap/HEAD/src/HashMap/primitives/index.ts -------------------------------------------------------------------------------- /src/HashMap/primitives/iterateMap.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/typed-hashmap/HEAD/src/HashMap/primitives/iterateMap.ts -------------------------------------------------------------------------------- /src/HashMap/primitives/setKeyValue.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/typed-hashmap/HEAD/src/HashMap/primitives/setKeyValue.ts -------------------------------------------------------------------------------- /src/HashMap/primitives/setTree.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/typed-hashmap/HEAD/src/HashMap/primitives/setTree.ts -------------------------------------------------------------------------------- /src/HashMap/reduce.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/typed-hashmap/HEAD/src/HashMap/reduce.ts -------------------------------------------------------------------------------- /src/HashMap/remove.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/typed-hashmap/HEAD/src/HashMap/remove.ts -------------------------------------------------------------------------------- /src/HashMap/set.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/typed-hashmap/HEAD/src/HashMap/set.ts -------------------------------------------------------------------------------- /src/HashMap/size.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/typed-hashmap/HEAD/src/HashMap/size.ts -------------------------------------------------------------------------------- /src/HashMap/values.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/typed-hashmap/HEAD/src/HashMap/values.ts -------------------------------------------------------------------------------- /src/common/array-operations.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/typed-hashmap/HEAD/src/common/array-operations.ts -------------------------------------------------------------------------------- /src/common/bitwise-operations.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/typed-hashmap/HEAD/src/common/bitwise-operations.test.ts -------------------------------------------------------------------------------- /src/common/bitwise-operations.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/typed-hashmap/HEAD/src/common/bitwise-operations.ts -------------------------------------------------------------------------------- /src/common/constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/typed-hashmap/HEAD/src/common/constants.ts -------------------------------------------------------------------------------- /src/common/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/typed-hashmap/HEAD/src/common/index.ts -------------------------------------------------------------------------------- /src/common/stringHash.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/typed-hashmap/HEAD/src/common/stringHash.test.ts -------------------------------------------------------------------------------- /src/common/stringHash.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/typed-hashmap/HEAD/src/common/stringHash.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './HashMap'; 2 | -------------------------------------------------------------------------------- /src/nodes/ArrayNode/ArrayNode.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/typed-hashmap/HEAD/src/nodes/ArrayNode/ArrayNode.ts -------------------------------------------------------------------------------- /src/nodes/ArrayNode/index.ts: -------------------------------------------------------------------------------- 1 | export * from './ArrayNode'; 2 | -------------------------------------------------------------------------------- /src/nodes/ArrayNode/toIndexNode.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/typed-hashmap/HEAD/src/nodes/ArrayNode/toIndexNode.ts -------------------------------------------------------------------------------- /src/nodes/CollisionNode/CollisionNode.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/typed-hashmap/HEAD/src/nodes/CollisionNode/CollisionNode.ts -------------------------------------------------------------------------------- /src/nodes/CollisionNode/index.ts: -------------------------------------------------------------------------------- 1 | export * from './CollisionNode'; 2 | -------------------------------------------------------------------------------- /src/nodes/CollisionNode/newCollisionList.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/typed-hashmap/HEAD/src/nodes/CollisionNode/newCollisionList.ts -------------------------------------------------------------------------------- /src/nodes/EmptyNode.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/typed-hashmap/HEAD/src/nodes/EmptyNode.ts -------------------------------------------------------------------------------- /src/nodes/IndexedNode/IndexedNode.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/typed-hashmap/HEAD/src/nodes/IndexedNode/IndexedNode.ts -------------------------------------------------------------------------------- /src/nodes/IndexedNode/index.ts: -------------------------------------------------------------------------------- 1 | export * from './IndexedNode'; 2 | -------------------------------------------------------------------------------- /src/nodes/IndexedNode/toArrayNode.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/typed-hashmap/HEAD/src/nodes/IndexedNode/toArrayNode.ts -------------------------------------------------------------------------------- /src/nodes/LeafNode/LeafNode.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/typed-hashmap/HEAD/src/nodes/LeafNode/LeafNode.ts -------------------------------------------------------------------------------- /src/nodes/LeafNode/combineLeafNodes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/typed-hashmap/HEAD/src/nodes/LeafNode/combineLeafNodes.ts -------------------------------------------------------------------------------- /src/nodes/LeafNode/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/typed-hashmap/HEAD/src/nodes/LeafNode/index.ts -------------------------------------------------------------------------------- /src/nodes/constants.ts: -------------------------------------------------------------------------------- 1 | export const NOTHING: {} = Object.create(null); 2 | -------------------------------------------------------------------------------- /src/nodes/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/typed-hashmap/HEAD/src/nodes/index.ts -------------------------------------------------------------------------------- /src/nodes/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/typed-hashmap/HEAD/src/nodes/types.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/typed-hashmap/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TylorS/typed-hashmap/HEAD/tslint.json --------------------------------------------------------------------------------