|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.crosswire.jsword.passage.AbstractPassage.VerseRangeIterator
protected static final class AbstractPassage.VerseRangeIterator
Skip over verses that are part of a range
Field Summary | |
---|---|
private Iterator<Key> |
it
The Iterator that we are proxying to |
private VerseRange |
next_range
What is the next VerseRange to be considered |
private Verse |
next_verse
What is the next Verse to be considered |
private RestrictionType |
restrict
Do we restrict ranges to not crossing chapter boundaries |
private Versification |
v11n
The Versification to which these verses belong. |
Constructor Summary | |
---|---|
protected |
AbstractPassage.VerseRangeIterator(Versification v11n,
Iterator<Key> it,
RestrictionType restrict)
iterate, amalgamating Verses into VerseRanges |
Method Summary | |
---|---|
private void |
calculateNext()
Find the next VerseRange |
boolean |
hasNext()
|
VerseRange |
next()
|
void |
remove()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private Versification v11n
private Iterator<Key> it
private VerseRange next_range
private Verse next_verse
private RestrictionType restrict
Constructor Detail |
---|
protected AbstractPassage.VerseRangeIterator(Versification v11n, Iterator<Key> it, RestrictionType restrict)
Method Detail |
---|
public boolean hasNext()
hasNext
in interface Iterator<Key>
public VerseRange next() throws NoSuchElementException
next
in interface Iterator<Key>
NoSuchElementException
public void remove() throws UnsupportedOperationException
remove
in interface Iterator<Key>
UnsupportedOperationException
private void calculateNext()
|
Copyright ? 2003-2011 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |