26 lines
796 B
JavaScript
26 lines
796 B
JavaScript
// Metro module 748 (f749).
|
|
import * as _listCacheClear from "./listCacheClear";
|
|
import * as _listCacheDelete from "./listCacheDelete";
|
|
import * as _listCacheGet from "./listCacheGet";
|
|
import * as _listCacheHas from "./listCacheHas";
|
|
import * as _listCacheSet from "./listCacheSet";
|
|
const ListCache = function ListCache(a0) {
|
|
const r5 = a0 == null ? 0 : a0.length;
|
|
this.clear();
|
|
const r12 = 0 < r5;
|
|
let r13 = 0;
|
|
if (r12) {
|
|
do {
|
|
const r14 = a0[r13];
|
|
this.set(r14[0], r14[1]);
|
|
r13 = r13 + 1;
|
|
} while (r13 < r5);
|
|
}
|
|
};
|
|
ListCache.prototype.clear = _listCacheClear;
|
|
ListCache.prototype.delete = _listCacheDelete;
|
|
ListCache.prototype.get = _listCacheGet;
|
|
ListCache.prototype.has = _listCacheHas;
|
|
ListCache.prototype.set = _listCacheSet;
|
|
module.exports = ListCache;
|