@Mutable public abstract class ReadOnlyIterator<ELEMENT> extends Object implements Iterator<ELEMENT>
| Constructor and Description |
|---|
ReadOnlyIterator() |
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
hasNext() |
abstract ELEMENT |
next() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemaining@Pure
public abstract boolean hasNext()
throws IterationException
hasNext in interface Iterator<ELEMENT>IterationException@Impure public abstract ELEMENT next() throws IterationException, NoSuchElementException
next in interface Iterator<ELEMENT>IterationExceptionNoSuchElementException@Pure
public final void remove()
throws UnsupportedOperationException
remove in interface Iterator<ELEMENT>UnsupportedOperationExceptionCopyright © 2017. All rights reserved.