compound-binary-file-js
Version:
This is an implementation of [Compound Binary File v.3](https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-cfb/53989ce4-7b05-4f8d-829b-d08d6148375b) \ Allows reading existing files, creation of the/write operation
10 lines (9 loc) • 417 B
TypeScript
import { TreeNode } from "./Node";
import { RedBlackTree } from "./RedBlackTree";
export declare class UpdateHandler<T> {
protected readonly tree: RedBlackTree<T>;
constructor(tree: RedBlackTree<T>);
rightRotate(subTreeRoot: TreeNode<T>, pivot: TreeNode<T>): void;
leftRotate(subTreeRoot: TreeNode<T>, pivot: TreeNode<T>): void;
swapColor(node1: TreeNode<T>, node2: TreeNode<T>): void;
}