private static final class PassageTally.OrderedVerseRangeIterator extends Object implements Iterator<VerseRange>
Modifier and Type | Field and Description |
---|---|
private Iterator<PassageTally.TalliedVerseRange> |
it
The Iterator we are converting
|
private PassageTally.TalliedVerseRange |
last
So that we can get at the ranking of the given verse
|
Modifier | Constructor and Description |
---|---|
protected |
PassageTally.OrderedVerseRangeIterator(Versification v11n,
Iterator<Key> vit,
int[] board)
Find the first unused verse
|
private PassageTally.TalliedVerseRange last
private Iterator<PassageTally.TalliedVerseRange> it
protected PassageTally.OrderedVerseRangeIterator(Versification v11n, Iterator<Key> vit, int[] board)
v11n
- the versification to which this reference pertainsvit
- board
- public boolean hasNext()
hasNext
in interface Iterator<VerseRange>
public VerseRange next() throws NoSuchElementException
next
in interface Iterator<VerseRange>
NoSuchElementException
public void remove() throws UnsupportedOperationException
remove
in interface Iterator<VerseRange>
UnsupportedOperationException