|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.crosswire.jsword.passage.RangedPassage.VerseRangeIterator
private static final class RangedPassage.VerseRangeIterator
Loop over the VerseRanges and check that they do not require digging into
| Field Summary | |
|---|---|
private VerseRange |
next
What are we going to reply with next? |
private Iterator<Key> |
real
Where we read our base ranges from |
private RestrictionType |
restrict
Where do we break ranges |
| Constructor Summary | |
|---|---|
RangedPassage.VerseRangeIterator(Iterator<Key> it,
RestrictionType restrict)
Simple ctor |
|
| Method Summary | |
|---|---|
boolean |
hasNext()
|
Key |
next()
|
void |
remove()
|
private Key |
replyNext()
The next object is correct, use that one |
private Key |
splitNext()
The next object is too big, so cut it up |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private VerseRange next
private RestrictionType restrict
private Iterator<Key> real
| Constructor Detail |
|---|
public RangedPassage.VerseRangeIterator(Iterator<Key> it,
RestrictionType restrict)
| Method Detail |
|---|
public void remove()
remove in interface Iterator<Key>public boolean hasNext()
hasNext in interface Iterator<Key>public Key next()
next in interface Iterator<Key>private Key replyNext()
private Key splitNext()
|
Copyright ? 2003-2011 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||