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.
14 lines (13 loc) • 444 B
TypeScript
import { AbstractMapEntry } from "../map";
import { Comparable } from "../comparable";
export declare class TreeMapEntry<K, V> extends AbstractMapEntry<K, V> implements Comparable<TreeMapEntry<K, V>> {
key: K;
value: V;
constructor(key: K, value: V);
getKey(): K;
getValue(): V;
setValue(value: V): V;
equals(obj: Object): boolean;
compareTo(entry: TreeMapEntry<K, V>): number;
compareKey(key: K): number;
}