1.0.1 • Published 7 years ago
nubes-collections v1.0.1
nubes-collections - A TypeScript library
nubes-collections is a collection of data structures, it is a developer library, you can use it to help you develop any program when you use TypeScript. I don't suggest use this collection in JavaScript.
Update Log
- 0.1.0 Reconstructed. Use interfaces to create collections.
- 0.1.1 Add KeyValue
- 0.1.2 Fixed bugs: when new a KeyValue cannot set value to variable key and value in new KeyValue object.
- 0.1.3 Add IDictionary and Dictionary. Change KeyValue to KeyValuePair
- 1.0.0 Reconstructed. This version isn't maybe compatible with old versions. Support iterator now, you can use
for...of...
to iterate value of containers. - 1.0.1 Processer Seq added function
map()
reduce()
find()
findAll()
get()
, you can prcoess containers quickly now.
TODO:
- Add more usful functions into Seq
Usage
When you installed this module, please use this way to import;
import * as nubes from "nubes-collections";
/* Or */
import nubes = require('nubes-collections');
Then, you can use it like use other module
let sample:nubes.List<string> = new nubes.List<string>();
P.S.
If you find any bugs, please file issue in GitHub.