ts-collection
Version:
This is re-write of the java collection classes in typescript. There is some tweak as typescript templates are not as equivalent as Java.
15 lines (14 loc) • 541 B
TypeScript
import { AbstractSet } from "../abstractset";
import { MapEntry } from "../map";
import { Iterator } from "../iterator";
import { RedBlackTree } from "../RedBlackTree";
import { TreeMapEntry } from "./TreeMapEntry";
export declare class TreeMapEntrySet<K, V> extends AbstractSet<MapEntry<K, V>> {
private rbTree;
constructor(rbTree: RedBlackTree<TreeMapEntry<K, V>>);
iterator(): Iterator<MapEntry<K, V>>;
contains(e: MapEntry<K, V>): boolean;
remove(e: MapEntry<K, V>): boolean;
size(): number;
clear(): void;
}