decord/source/782_SetCache.js
2026-08-24 06:08:38 +00:00

31 lines
742 B
JavaScript

// Module ID: 782
// Function ID: 783
// Name: SetCache
// Dependencies: [732, 783, 784]
// Module 782 (SetCache)
import MapCache from "MapCache" /* 732 */;
import setCacheHas from "setCacheHas" /* 784 */;
import setCacheAdd from "setCacheAdd" /* 783 */;
class SetCache {
constructor(arg0) {
num = 0;
if (null != global) {
num = global.length;
}
self = this;
tmp = new require("MapCache")();
this.__data__ = tmp;
for (let num2 = 0; num2 < num; num2 = num2 + 1) {
addResult = self.add(global[num2]);
}
return;
}
}
({ prototype, prototype: prototype2 } = SetCache);
prototype2.push = setCacheAdd;
prototype.add = setCacheAdd;
SetCache.prototype.has = setCacheHas;
export default SetCache;