|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.crosswire.jsword.passage.PassageTally.OrderedVerseIterator
private static final class PassageTally.OrderedVerseIterator
Iterate over the Verses in order of their rank in the tally
| Field Summary | |
|---|---|
private Iterator<PassageTally.TalliedVerse> |
it
The Iterator we are converting |
private PassageTally.TalliedVerse |
last
So that we can get at the ranking of the given verse |
private Versification |
referenceSystem
The Versification is needed to decode board positions. |
| Constructor Summary | |
|---|---|
protected |
PassageTally.OrderedVerseIterator(Versification v11n,
int[] board)
Find the first unused verse |
| Method Summary | |
|---|---|
boolean |
hasNext()
|
int |
lastRank()
|
Key |
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 referenceSystem
private PassageTally.TalliedVerse last
private Iterator<PassageTally.TalliedVerse> it
| Constructor Detail |
|---|
protected PassageTally.OrderedVerseIterator(Versification v11n,
int[] board)
| Method Detail |
|---|
public boolean hasNext()
hasNext in interface Iterator<Key>
public Key next()
throws NoSuchElementException
next in interface Iterator<Key>NoSuchElementException
public void remove()
throws UnsupportedOperationException
remove in interface Iterator<Key>UnsupportedOperationException
public int lastRank()
throws NoSuchElementException
NoSuchElementException - if hasNext() == false
|
Copyright ยจ 2003-2015 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||