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.
29 lines (28 loc) • 1.37 kB
TypeScript
import { NavigableSubMap } from "../treemaputil/NavigableSubMap";
import { TreeMap } from "../treemap";
import { Comparator } from "../comparator";
import { NavigableMap } from "../navigablemap";
import { Iterator } from "../iterator";
import { Set } from "../set";
import { TreeMapEntry } from "../treemaputil/TreeMapEntry";
export declare class DescendingSubMap<K, V> extends NavigableSubMap<K, V> {
private m_Comparator;
constructor(map: TreeMap<K, V>, fromStart: boolean, lo: K, loInclusive: boolean, toEnd: boolean, hi: K, hiInclusive: boolean);
comparator(): Comparator<K>;
subMap(fromKey: K, toKey: K): NavigableMap<K, V>;
subMap(fromKey: K, fromInclusive: boolean, toKey: K, toInclusive: boolean): NavigableMap<K, V>;
headMap(toKey: K): NavigableMap<K, V>;
headMap(toKey: K, inclusive: boolean): NavigableMap<K, V>;
tailMap(fromKey: K): NavigableMap<K, V>;
tailMap(fromKey: K, inclusive: boolean): NavigableMap<K, V>;
descendingMap(): NavigableMap<K, V>;
keyIterator(): Iterator<K>;
descendingKeyIterator(): Iterator<K>;
entrySet(): Set<TreeMapEntry<K, V>>;
subLowest(): TreeMapEntry<K, V>;
subHighest(): TreeMapEntry<K, V>;
subCeiling(key: K): TreeMapEntry<K, V>;
subHigher(key: K): TreeMapEntry<K, V>;
subFloor(key: K): TreeMapEntry<K, V>;
subLower(key: K): TreeMapEntry<K, V>;
}