1 var define = require("../define").define, 2 base = require("../base"); 3 4 /** 5 * @class Base class for all collections 6 * @name Collection 7 * @memberOf comb.collections 8 */ 9 var Collection = define(null, { 10 instance : { 11 /**@lends comb.collections.Collection.prototype*/ 12 13 /** 14 * Concats two collections 15 */ 16 concat : function() { 17 throw new Error("Not Implemented"); 18 }, 19 20 /** 21 * Joins two collections 22 */ 23 join : function() { 24 throw new Error("Not Implemented"); 25 }, 26 27 /** 28 * Slice a portion from a collection 29 */ 30 slice : function() { 31 throw new Error("Not Implemented"); 32 }, 33 34 /** 35 * Convert a collection to a string 36 */ 37 toString : function() { 38 throw new Error("Not Implemented"); 39 }, 40 41 /** 42 * Find the index of an item in a collection 43 */ 44 indexOf : function() { 45 throw new Error("Not Implemented"); 46 }, 47 48 /** 49 * Find the last index of an item in a collection 50 */ 51 lastIndexOf : function() { 52 throw new Error("Not Implemented"); 53 } 54 } 55 }); 56 57 module.exports = exports = Collection;