Skip to content
Larry Diamond edited this page Sep 5, 2017 · 40 revisions

Welcome to the Typescript Collections Framework wiki!

The goal of this project is to provide Java developers now using AngularJS a similar set of Collections that we all had when coding in Java. The goal is to provide a better set of classes and to integrate in with AngularJS and TypeScript.

O notation for each class

Class Access Search Insert Delete
ArrayList O(1) O(n) O(1) O(n)
LinkedList O(n) O(n) O(n) O(n)
TreeSet/TreeMap O(log(n)) O(log(n)) O(log(n)) O(log(n))
HashSet/HashMap O(1) O(1) O(1) O(1)

Release 0.7.2

Hash iteration patch

Release 0.7.1

Bug fixes removing equals methods no longer needed

Release 0.7.0

Eliminated the need for classes to extend a bogus base object, allows strings and numbers to be keys in ArrayList, LinkedList, HashSet, and HashMap.

Release 0.6.0

HashSet is ready for real use

Release 0.5.7

HashSet patches

Release 0.5.6

HashSet patches

Release 0.5.5

Mistake re-release

Release 0.5.4

HashSet

Release 0.5.3

Performance improvements for HashMap

Release 0.5.2

NavigableMap methods for TreeMap

Release 0.5.1

Patch release to expose LinkedList class, sigh not the first time I've forgotten to expose a class once it's ready

Release 0.5.0

Minor release for LinkedList class

Release 0.4.5

Patch release HashMap first few methods

Release 0.4.4

Patch release new ceiling methods for TreeMap and TreeSet. Floor, higher, and lower to follow in future patches

Release 0.4.3

Patch release fixing TreeMap iteration

Release 0.4.2

Patch release fixing parameters for ArrayList.addAll()

Release 0.4.1

Patch release making Comparator visible so that TreeMaps and TreeSets are truly accessible

Release 0.4.0

ArrayList, TreeMap, and TreeSet are all available for use now.
Sample program using Angular 2 is available at https://github.com/larrydiamond/typescriptcollectionsframework-Demo-For-Angular2

Clone this wiki locally