ncollections
Version:
Neat JavaScript collections.
69 lines (58 loc) • 1.5 kB
Plain Text
1.3.2 (released 13-Feb-2022)
----------------------------
- Added collection keywords to package.json.
1.3.1 (released 13-Feb-2022)
----------------------------
- Cleaned up RedBlackBST implementation and moved it to new main/ds/ folder.
- Elements (and map keys and values) can now be null.
- Updated README.md.
1.3.0 (released 12-Feb-2022)
----------------------------
- Added new collections:
- SortedSet super-class.
- SortedMap super-class.
- TreeSet as an implementation of a SortedSet.
- TreeMap as an implementation of a SortedMap.
- Queue is now a super-class and SimpleQueue is an implementation thereof.
- For each Map, the iterators returned by keys() and values() methods are now fully incremental.
- Removed NativeSet and NativeMap collections.
- Added and applied IllegalArgumentException throughout.
- Updated README.md.
1.2.x
-----
- In README.md
- Restructured collection description.
- Added ability to try out ncollections.
- Added new collection: IndexSet.
1.1.x
-----
- Added new collection: NativeSet.
- Added new collection: NativeMap.
- Updated README.md.
1.0.3
-----
First release.
Instance collections
- ArrayList
- Deque
- HashMap
- HashSet
- LinkedList
- PriorityQueue
- Queue
- Stack
- UnmodifiableCollection (hidden)
Super collections:
- Collection
- List
- Map
- Set
Exceptions:
- IndexOutOfBoundsException
- NoSuchElementException
- UnsupportedOperationException
Number of test cases: 325
Packages:
"devDependencies": {
"mocha": "^9.2.0"
}