/** * @fileoverview This module provides the HashMap constructor. * @author NHN. * FE Development Lab */ 'use strict'; var collection = require('./collection'); var type = require('./type'); /** * All the data in hashMap begin with _MAPDATAPREFIX; * @type {string} * @private */ var _MAPDATAPREFIX = 'å'; /** * HashMap can handle the key-value pairs.
* Caution:
* HashMap instance has a length property but is not an instance of Array. * @param {Object} [obj] A initial data for creation. * @constructor * @memberof tui.util * @deprecated since version 1.3.0 * @example * // node, commonjs * var HashMap = require('tui-code-snippet').HashMap; * var hm = new tui.util.HashMap({ 'mydata': { 'hello': 'imfine' }, 'what': 'time' }); * @example * // distribution file, script * *