MCPcopy
hub / github.com/CesiumGS/cesium / get

Method get

packages/engine/Source/Scene/QuadtreeTile.js:28–37  ·  view source on GitHub ↗

* @param {unknown} key * @returns {unknown}

(key)

Source from the content-addressed store, hash-verified

26 * @returns {unknown}
27 */
28 get(key) {
29 if (!this.cache.has(key)) {
30 return undefined;
31 }
32 // Move accessed item to the end (most recently used)
33 const value = this.cache.get(key);
34 this.cache.delete(key);
35 this.cache.set(key, value);
36 return value;
37 }
38
39 /**
40 * @param {unknown} key

Callers 15

server.jsFile · 0.45
objectMethod · 0.45
TextureAtlas.jsFile · 0.45
getFunction · 0.45
Context.jsFile · 0.45
callRuntimeCallbacksFunction · 0.45
dynCallFunction · 0.45
makeDynCallerFunction · 0.45
VoxelBoxShape.jsFile · 0.45
getTilesetsFunction · 0.45

Calls 1

setMethod · 0.45

Tested by

no test coverage detected