UNPKG

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.

6 lines (5 loc) 177 B
import { Comparator } from "./comparator"; export declare class Collections { private static REVERSE_ORDER; static reverseOrder<T>(cmp: Comparator<T>): Comparator<T>; }