Retrieves a value indicating how many child nodes this node has.
public int getNodeCount()
public int getNodeCount(boolean includeSubTrees)
includeSubTrees
Set to true to include nodes in subtrees rooted at this node; otherwise, set to false (or omit).
Returns an integer that represents the number of child nodes this node has.