d26db06f74
NPM Installation / build (16.x, ubuntu-latest) (push) Has been cancelled
NPM Installation / build (16.x, windows-latest) (push) Has been cancelled
NPM Installation / build (17.x, ubuntu-latest) (push) Has been cancelled
NPM Installation / build (17.x, windows-latest) (push) Has been cancelled
NPM Installation / build (18.x, ubuntu-latest) (push) Has been cancelled
NPM Installation / build (18.x, windows-latest) (push) Has been cancelled
9 lines
231 B
TypeScript
9 lines
231 B
TypeScript
export declare class DoubleIndexedKV<K, V> {
|
|
keyToValue: Map<K, V>;
|
|
valueToKey: Map<V, K>;
|
|
set(key: K, value: V): void;
|
|
getByKey(key: K): V | undefined;
|
|
getByValue(value: V): K | undefined;
|
|
clear(): void;
|
|
}
|