qflib 0.98.1

de.qfs.lib.tree
Class IndexBasedTreeAdapter.ChildEnumeration

java.lang.Object
  |
  +--de.qfs.lib.tree.IndexBasedTreeAdapter.ChildEnumeration
All Implemented Interfaces:
java.util.Enumeration
Enclosing class:
IndexBasedTreeAdapter

protected class IndexBasedTreeAdapter.ChildEnumeration
extends java.lang.Object
implements java.util.Enumeration

Helper class that enumerates the children of a node.


Constructor Summary
IndexBasedTreeAdapter.ChildEnumeration(java.lang.Object parent)
          Create a new ChildEnumeration.
 
Method Summary
 boolean hasMoreElements()
          Query whether there are more children.
 java.lang.Object nextElement()
          Get the next child.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndexBasedTreeAdapter.ChildEnumeration

public IndexBasedTreeAdapter.ChildEnumeration(java.lang.Object parent)
Create a new ChildEnumeration.
Parameters:
parent - The node whose children to enumerate.
Method Detail

hasMoreElements

public boolean hasMoreElements()
Query whether there are more children.
Specified by:
hasMoreElements in interface java.util.Enumeration
Returns:
True if more children are available.

nextElement

public java.lang.Object nextElement()
Get the next child.
Specified by:
nextElement in interface java.util.Enumeration
Returns:
The next child.

qflib 0.98.1