HUCTLp / com.github.sybila / Binary / copy

copy

abstract fun copy(left: Tree = this.left, right: Tree = this.right): This

Create a copy of the original object but optionally replace the left or right child element.