tom-weatherhead/common-utilities.ts

View on GitHub
src/trees/idictionary.ts

Summary

Maintainability
A
0 mins
Test Coverage
// github:tom-weatherhead/common-utilities.ts/src/trees/idictionary.ts

export interface IDictionary<K, V> {
    clear(): void;
    // size(): number;
    insert(key: K, value: V): void;
    delete(keyToDelete: K): boolean;
    find(keyToFind: K): V | undefined;
    // getKeys(): K[];
    // getValues(): V[];
}