UNPKG

463 BTypeScriptView Raw
1export declare class SkipListNode<T> {
2 private readonly item;
3 private next;
4 private prev;
5 constructor(item?: T);
6 getItem(): T;
7 getNext(level: number): SkipListNode<T>;
8 setNext(level: number, node: SkipListNode<T>): void;
9 getPrev(level: number): SkipListNode<T>;
10 setPrev(level: number, node: SkipListNode<T>): void;
11 deleteLastLevel(): void;
12 getNextLevel(): number;
13 getPrevLevel(): number;
14 getHeight(): number;
15}