UNPKG

310 BTypeScriptView Raw
1export declare class HashMap<T> {
2 private map;
3 constructor(capacity?: number);
4 readonly Count: number;
5 put(key: string, value: T): this;
6 get(key: string): T;
7 clear(): void;
8 remove(key: string): boolean;
9 keys(): string[];
10 values(): T[];
11 contains(key: string): boolean;
12}