org.crosswire.jsword.passage
Class VerseRange.VerseIterator

java.lang.Object
  extended by org.crosswire.jsword.passage.VerseRange.VerseIterator
All Implemented Interfaces:
Iterator
Enclosing class:
VerseRange

private static final class VerseRange.VerseIterator
extends Object
implements Iterator

Iterate over the Verses in the VerseRange


Field Summary
private  int last
           
private  int next
           
 
Constructor Summary
protected VerseRange.VerseIterator(VerseRange range)
          Ctor
 
Method Summary
 boolean hasNext()
           
 Object next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

next

private int next

last

private int last
Constructor Detail

VerseRange.VerseIterator

protected VerseRange.VerseIterator(VerseRange range)
Ctor

Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator

next

public Object next()
            throws NoSuchElementException
Specified by:
next in interface Iterator
Throws:
NoSuchElementException

remove

public void remove()
            throws UnsupportedOperationException
Specified by:
remove in interface Iterator
Throws:
UnsupportedOperationException

Copyright ยจ 2003-2006