-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Description
Below are the contents of an extern file I made for Closure Compiler's Advanced
Compilation. These are starting to show up in projects now.
/**
* @constructor
* @param {function(Object)=} hashingFunctionParam
* @param {function(Object, Object)=} equalityFunctionParam
*/
function Hashtable(hashingFunctionParam, equalityFunctionParam) { };
/**
* @param {Object} key
* @param {Object} value
*/
Hashtable.prototype.put = function (key, value) { };
/**
* @param {Object} key
* @returns {Object?}
*/
Hashtable.prototype.get = function (key) { };
/**
* @param {Object} key
* @returns {Boolean?}
*/
Hashtable.prototype.containsKey = function (key) { };
/**
* @param {Object} value
* @returns {Boolean?}
*/
Hashtable.prototype.containsValue = function (value) { };
Hashtable.prototype.clear = function () { };
/**
* @returns {Boolean?}
*/
Hashtable.prototype.isEmpty = function () { };
/**
* @returns {Array.<Objects>}
*/
Hashtable.prototype.keys = function () { };
/**
* @returns {Array.<Objects>}
*/
Hashtable.prototype.values = function () { };
/**
* @returns {Array.<Array.<Objects>>}
*/
Hashtable.prototype.entries = function () { };
/**
* @param {Object} key
*/
Hashtable.prototype.remove = function (key) { };
/**
* @returns {number}
*/
Hashtable.prototype.size = function () { };
/**
* @param {function(Object, Object)} callback
*/
Hashtable.prototype.each = function (callback) { };
/**
* @param {Hashtable} hashtable
* @param {function(Object, Object, Object)} conflictCallback
*/
Hashtable.prototype.putAll = function (hashtable, conflictCallback) { };
/**
* @returns {Hashtable}
*/
Hashtable.prototype.clone = function() { };
Original issue reported on code.google.com by [email protected] on 21 Jan 2011 at 4:33