TreeNode.getNodeCount

Overview | Methods | This Package | All Packages

TreeNode.getNodeCount

Retrieves a value indicating how many child nodes this node has.

Syntax

public int getNodeCount()

public int getNodeCount(boolean includeSubTrees)

Parameters

includeSubTrees

Set to true to include nodes in subtrees rooted at this node; otherwise, set to false (or omit).

Return Value

Returns an integer that represents the number of child nodes this node has.