-
-
Notifications
You must be signed in to change notification settings - Fork 9
Home
Larry Diamond edited this page Sep 18, 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.
| 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) |