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) • 429 B
TypeScript
import { Color, TreeNode } from "./Node";
import { NodeFactory } from "./RedBlackTree";
export declare class TreeLevel<T> {
private parent;
private readonly nodeFactory;
constructor(parent: TreeNode<T>, nodeFactory: NodeFactory<T>);
left(value: T, color: Color, levelBuilder?: (level: TreeLevel<T>) => void): void;
right(value: T, color: Color, levelBuilder?: (level: TreeLevel<T>) => void): void;
}