Modifier and Type | Field and Description |
---|---|
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.
|
Modifier | Constructor and Description |
---|---|
protected |
PassageTally.OrderedVerseIterator(Versification v11n,
int[] board)
Find the first unused verse
|
private Versification referenceSystem
private PassageTally.TalliedVerse last
private Iterator<PassageTally.TalliedVerse> it
protected PassageTally.OrderedVerseIterator(Versification v11n, int[] board)
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