Skip to content

Commit

Permalink
types
Browse files Browse the repository at this point in the history
  • Loading branch information
eyas-ranjous committed Jan 31, 2023
1 parent 9a7e225 commit d9635cd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/avlTree.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,13 @@ export class AvlTree<T> extends BinarySearchTree<T> {
max(node?: AvlTreeNode<T>): AvlTreeNode<T> | null;
min(node?: AvlTreeNode<T>): AvlTreeNode<T> | null;
lowerBound(value: T, includeEqual?: boolean): AvlTreeNode<T> | null;
lowerBoundKey(key: number|string, includeEqual?: boolean): AvlTreeNode<T> | null;
floor(value: T, includeEqual?: boolean): AvlTreeNode<T> | null;
floorKey(key: number|string, includeEqual?: boolean): AvlTreeNode<T> | null;
upperBound(value: T, includeEqual?: boolean): AvlTreeNode<T> | null;
upperBoundKey(key: number|string, includeEqual?: boolean): AvlTreeNode<T> | null;
ceil(value: T, includeEqual?: boolean): AvlTreeNode<T> | null;
ceilKey(key: number|string, includeEqual?: boolean): AvlTreeNode<T> | null;
root(): AvlTreeNode<T> | null;
traverseInOrder(cb: (node: AvlTreeNode<T>) => void): void;
traversePreOrder(cb: (node: AvlTreeNode<T>) => void): void;
Expand Down

0 comments on commit d9635cd

Please sign in to comment.