org.crosswire.jsword.passage
Class BitwisePassage.VerseIterator

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

private final class BitwisePassage.VerseIterator
extends Object
implements Iterator

Iterate over the Verses

Author:
Joe Walker, DM Smith

Field Summary
private  int next
          What is the next Verse to be considered
 
Constructor Summary
BitwisePassage.VerseIterator()
          Find the first unused verse
 
Method Summary
private  void calculateNext()
          Find the next bit
 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
What is the next Verse to be considered

Constructor Detail

BitwisePassage.VerseIterator

public BitwisePassage.VerseIterator()
Find the first unused verse

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

calculateNext

private void calculateNext()
Find the next bit


Copyright ? 2003-2004