node-collection
文件大小: unknow
源码售价: 5 个金币 积分规则     积分充值
资源说明:An utility for representing and manipulating collections.
# collection.js

Collection is a utility for representing and manipulating collections for nodejs.

## Quick Examples

    var TreeMap = require('src/collection').TreeMap;

    // define compare function
    function compareFunc(k1, k2) {
      return k1 - k2;
    }

    var treemap = new TreeMap(compareFunc);
    treemap.put(1101, {value: "This is a test blob."});
    console.log(treemap.get(1101));

    var submap = treemap.tailMap(1000, false);
    console.log(submap.get(1101));

本源码包内暂不包含可直接显示的源代码文件,请下载源码包。