BalanceConfig

data class BalanceConfig(val makeTree: (children: List<Any>, positions: List<Int>, length: Int) -> Tree? = null)

Configuration for Tree.balance.

Constructors

Link copied to clipboard
constructor(makeTree: (children: List<Any>, positions: List<Int>, length: Int) -> Tree? = null)

Properties

Link copied to clipboard
val makeTree: (children: List<Any>, positions: List<Int>, length: Int) -> Tree?