while (enum.hasMoreElements() == true) { current = (TreeNode) enum.nextElement();
while (e.hasMoreElements() == true) { current = (TreeNode) e.nextElement();
	public int getLeafCount() {		// Variables		Enumeration	enum;		int			count;		TreeNode	current;		// Get Enumeration of all descendants		enum = depthFirstEnumeration();		// Process Nodes		count = 0;		while (enum.hasMoreElements() == true) {			current = (TreeNode) enum.nextElement();			if (current.isLeaf() == true) {				count++;			} // if		} // if