|
||||||||||
| 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 |
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 boundries |
| Constructor Summary | |
|---|---|
protected |
AbstractPassage.VerseRangeIterator(Iterator it,
RestrictionType restrict)
iterate, amalgumating Verses into VerseRanges |
| Method Summary | |
|---|---|
private void |
calculateNext()
Find the next VerseRange |
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 |
|---|
private Iterator it
private VerseRange next_range
private Verse next_verse
private RestrictionType restrict
| Constructor Detail |
|---|
protected AbstractPassage.VerseRangeIterator(Iterator it,
RestrictionType restrict)
| Method Detail |
|---|
public boolean hasNext()
hasNext in interface Iterator
public Object next()
throws NoSuchElementException
next in interface IteratorNoSuchElementException
public void remove()
throws UnsupportedOperationException
remove in interface IteratorUnsupportedOperationExceptionprivate void calculateNext()
|
Copyright ยจ 2003-2007 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||