|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.basedb.util.Tree.EntryIterator
private class Tree.EntryIterator
An iterator that return entries for each node.
Field Summary | |
---|---|
private Iterator<Tree.Entry<E>> |
childIterator
An iterator over the children of the root entry. |
private Tree.Entry<E> |
next
The next element to return. |
private Iterator<Tree.Entry<E>> |
subTreeIterator
An iterator over the subtree for each child of the root entry. |
Constructor Summary | |
---|---|
private |
Tree.EntryIterator(Tree.Entry<E> root)
Create an iterator that starts at the specified entry. |
Method Summary | |
---|---|
boolean |
hasNext()
|
Tree.Entry<E> |
next()
|
void |
remove()
Not supported. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private Tree.Entry<E> next
private Iterator<Tree.Entry<E>> childIterator
private Iterator<Tree.Entry<E>> subTreeIterator
Constructor Detail |
---|
private Tree.EntryIterator(Tree.Entry<E> root)
root
- Method Detail |
---|
public boolean hasNext()
hasNext
in interface Iterator<Tree.Entry<E>>
public Tree.Entry<E> next()
next
in interface Iterator<Tree.Entry<E>>
public void remove()
remove
in interface Iterator<Tree.Entry<E>>
UnsupportedOperationException
- Always
|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |