Payload - The payload type.public abstract class AbstractProtectedIterator<Payload> extends Object implements ProtectedIterator<Payload>
AbstractProtectedIterator is an abstract base implementation for
ProtectedIterator implementations that guarantees that every call to
remove() throws an
UnsupportedOperationException.| Modifier | Constructor and Description |
|---|---|
protected |
AbstractProtectedIterator()
Creates a new
AbstractProtectedIterator. |
| Modifier and Type | Method and Description |
|---|---|
void |
remove()
Always throws an
UnsupportedOperationException. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemaining, hasNext, nextprotected AbstractProtectedIterator()
AbstractProtectedIterator.public final void remove()
throws UnsupportedOperationException
ProtectedIteratorUnsupportedOperationException.remove in interface Iterator<Payload>remove in interface ProtectedIterator<Payload>UnsupportedOperationException - When trying to remove an element from an
ProtectedIterator.Copyright © 2015–2017 Markenwerk – Gesellschaft für markenbildende Maßnahmen mbH. All rights reserved.