File Explorer

/var/runtime/node_modules/@aws-sdk/node_modules/mnemonist

This explorer reads the filesystem of the server it runs on, so /workspace/user isn't present here. Browsing and the terminal still work against this server's own disk from /.

2 dirs
86 files
fixed-reverse-heap.d.ts595 B · 26 lines
/** * Mnemonist FixedReverseHeap Typings * =================================== */import {IArrayLikeConstructor} from './utils/types'; type HeapComparator<T> = (a: T, b: T) => number; export default class FixedReverseHeap<T> {   // Members  capacity: number;  size: number;   // Constructor  constructor(ArrayClass: IArrayLikeConstructor, comparator: HeapComparator<T>, capacity: number);  constructor(ArrayClass: IArrayLikeConstructor, capacity: number);   // Methods  clear(): void;  push(item: T): number;  consume(): Iterable<T>;  toArray(): Iterable<T>;  inspect(): any;}