private static final class RangedPassage.VerseIterator extends Object implements Iterator<Key>
Modifier and Type | Field and Description |
---|---|
private Iterator<Key> |
real
The Iterator that we are proxying to
|
Modifier | Constructor and Description |
---|---|
protected |
RangedPassage.VerseIterator(Versification v11n,
Iterator<VerseRange> it)
Create a basic iterator that is a proxy for the RangedPassage
Passages iterator, with remove() overridden.
|
protected RangedPassage.VerseIterator(Versification v11n, Iterator<VerseRange> it)
v11n
- the versification to which this reference pertainsit
- public Key next() throws NoSuchElementException
next
in interface Iterator<Key>
NoSuchElementException
public void remove() throws UnsupportedOperationException
remove
in interface Iterator<Key>
UnsupportedOperationException