Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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.

Field Summary
`private Stack` | `stack`

Constructor Summary
`KeyIterator(Key key)`

Method Summary
`boolean` | `hasNext()`
`Object` | `next()`
`protected void` | `prepare()`
`void` | `remove()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### stack

    private Stack stack

Constructor Detail

### KeyIterator

    public KeyIterator(Key key)

Method Detail

### 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`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Copyright ¨ 2003-2007
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD