children property

List<TreeNode> children
getter/setter pair

Children is this node's direct children, each a whole node, so the array nests to the depth of the flow. A leaf carries null rather than an empty array. The subtree is materialised in full, up to 10000 nodes, out of one indexed read of the root; nothing is walked node by node.

Implementation

List<TreeNode> children;