org.crosswire.jsword.passage
Class KeyIterator
java.lang.Object
org.crosswire.jsword.passage.KeyIterator
- All Implemented Interfaces:
- Iterator
public class KeyIterator
- extends Object
- implements Iterator
This KeyIterator performs a depth first iteration over the subkeys
in the key.
- Author:
- DM Smith [dmsmith555 at yahoo dot com]
- See Also:
for license details.
The copyright to this program is held by it's authors.
Nested Class Summary |
static class |
KeyIterator.Locator
A helper class that remembers where we've been and where we are. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
stack
private Stack stack
KeyIterator
public KeyIterator(Key key)
prepare
protected void prepare()
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface Iterator
next
public Object next()
- Specified by:
next
in interface Iterator
remove
public void remove()
- Specified by:
remove
in interface Iterator