Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.eireneh.bible.passage
Class BitwisePassage.VerseEnumeration  view BitwisePassage.VerseEnumeration download BitwisePassage.VerseEnumeration.java

java.lang.Object
  extended bycom.eireneh.bible.passage.BitwisePassage.VerseEnumeration
All Implemented Interfaces:
java.util.Enumeration
Enclosing class:
BitwisePassage

private final class BitwisePassage.VerseEnumeration
extends java.lang.Object
implements java.util.Enumeration

Iterate over the Verses


Field Summary
private  int next
          What is the next Verse to be considered
 
Constructor Summary
BitwisePassage.VerseEnumeration()
          Find the first unused verse
 
Method Summary
private  void calculateNext()
          Find the next bit
 boolean hasMoreElements()
          Returns true if the iteration has more Verses
 java.lang.Object nextElement()
          Returns the next Verse in the interation
 
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.VerseEnumeration

public BitwisePassage.VerseEnumeration()
Find the first unused verse

Method Detail

hasMoreElements

public boolean hasMoreElements()
Returns true if the iteration has more Verses

Specified by:
hasMoreElements in interface java.util.Enumeration

nextElement

public java.lang.Object nextElement()
                             throws java.util.NoSuchElementException
Returns the next Verse in the interation

Specified by:
nextElement in interface java.util.Enumeration

calculateNext

private void calculateNext()
Find the next bit