function MapSet() {
this._data = {};
this.add = function (key, data) {
this._data[key] = this._data[key] || [];
this._data[key].push(data);
}
this.get = function (key) {
this._data[key] = this._data[key] || [];
return this._data[key]
}
this.clear = function () {
this._data = {};
}
}