MCPcopy Create free account
hub / github.com/ethereum/node-crawler / ISortedMap

Interface ISortedMap

frontend/src/data/SortedMap.ts:1–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1interface ISortedMap<K, V> {
2 clear(): void;
3 delete(key: K): boolean;
4 forEach(callbackfn: (value: V, key: K, map: Map<K, V>) => void, thisArg?: any): void;
5 get(key: K): V | undefined;
6 has(key: K): boolean;
7 set(key: K, value: V): Map<K, V>;
8 size(): number;
9 map: (callbackfn: (value: [K, V], index: number, array: [K, V][]) => any, thisArg?: any) => any[];
10 iterator: Map<K, V>
11}
12
13export function SortedMap<K, V>(comparator: (a: [K, V], b: [K, V]) => number): ISortedMap<K, V> {
14 const obj = new Map<K, V>();

Callers 20

SortedMapFunction · 0.80
SortedMapFunction · 0.80
parseOsFunction · 0.80
ClientsProcessorFunction · 0.80
appendOtherGroupFunction · 0.80
getUniqueFiltersFunction · 0.80
drilldownFilterFunction · 0.80
SortedMapFunction · 0.80
FilterGroupItemFunction · 0.80
parseFunction · 0.80
queryDataFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected