1 /*global $k*/ 2 3 /** 4 * Constructs an interval from start to stop 5 * 6 * @param start The lower endpoint 7 * @param stop The upper endpoint 8 * 9 * @class An interval representing all values between two endpoints. One endpoint may be undefined. 10 **/ 11 $k.Interval = function(start, stop) { }; 12 13 /** 14 * Returns true if the values are equal 15 * 16 * @function 17 * @returns {boolean} 18 **/ 19 $k.Interval.prototype.equals = function(value) { }; 20 21 /** 22 * Sets the lower endpoint. Pass undefined to denote an interval without lower endpoint 23 * 24 * @function 25 * @param start 26 **/ 27 $k.Interval.prototype.setStart = function(start) { }; 28 29 /** 30 * Sets the upper endpoint. Pass undefined to denote an interval without upper endpoint 31 * 32 * @function 33 * @param stop 34 **/ 35 $k.Interval.prototype.setStop = function(stop) { }; 36 37 /** 38 * Returns the lower endpoint, or undefined if the interval has no lower endpoint. 39 * 40 * @function 41 **/ 42 $k.Interval.prototype.start = function() { }; 43 44 /** 45 * Returns the upper endpoint , or undefined if the interval has no upper endpoint. 46 * 47 * @function 48 **/ 49 $k.Interval.prototype.stop = function() { }; 50 51