/** Returns enumeration of the children of the node. */
public Enumeration getChildren( Object node );
/** Returns true if node has children. */
public boolean hasChildren( Object node );
Example 2: Two methods are needed to implement an adapter for the tree iterator.