public abstract int getLength ()

The number of nodes in the list. The range of valid child node indices is 0 to length-1 inclusive.