-
-
Notifications
You must be signed in to change notification settings - Fork 9
Home
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.
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) |
Refactoring to use ImmutableMap
Refactoring to use Immutability
Set now extends Collection
Immutable Collections and Lists
set.remove
Tree iteration patch
Explicitly making undefined less than null which is less than any value
Hash iteration patch
Bug fixes removing equals methods no longer needed
Eliminated the need for classes to extend a bogus base object, allows strings and numbers to be keys in ArrayList, LinkedList, HashSet, and HashMap.
HashSet is ready for real use
HashSet patches
HashSet patches
Mistake re-release
HashSet
Performance improvements for HashMap
NavigableMap methods for TreeMap
Patch release to expose LinkedList class, sigh not the first time I've forgotten to expose a class once it's ready
Minor release for LinkedList class
Patch release HashMap first few methods
Patch release new ceiling methods for TreeMap and TreeSet. Floor, higher, and lower to follow in future patches
Patch release fixing TreeMap iteration
Patch release fixing parameters for ArrayList.addAll()
Patch release making Comparator visible so that TreeMaps and TreeSets are truly accessible
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