initi.doc/docfiles/libraries/v2/map.js

87 lines
1.3 KiB
JavaScript

/**
*
* @class map
* @extends v2.base
* @extends std.map
* @param _first_type {v2.vt.base}
* @param _second_type {v2.vt.base}
* @memberof v2
*/
function map(_first_type, _second_type) {
}
map.prototype = {
/**
*
* @public
* @function =
* @memberof v2.map
* @param _map {v2.map}
* @returns {this}
*/
"=": function (_map) {},
/**
*
* @public
* @function copy
* @memberof v2.map
* @returns {v2.map}
*/
copy: function () {},
/**
*
* @public
* @function put
* @memberof v2.map
* @param _key {v2.base}
* @param _value {v2.base}
*/
put: function (_key, _value) {},
/**
*
* @public
* @function exist
* @memberof v2.map
* @param _key {v2.base}
* @returns {boolean}
*/
exist: function (_key) {},
/**
*
* @public
* @function +=
* @memberof v2.map
* @param _map {v2.map}
*/
"+=": function (_map) {},
};
/**
* Constructor from native array
*
* @static
* @function from_array
* @memberof v2.map
* @param _arr {v2.base[]}
* @returns {v2.map}
*/
map.from_array = function (_arr) {
};
/**
*
* @static
* @function type
* @memberof v2.map
* @param _first_type {v2.vt.base}
* @returns {v2.vt.one_param}
*/
map.type = function (_first_type) {
};