Payload - The payload type.public interface ProtectedBidirectionalIterator<Payload> extends ProtectedIterator<Payload>, BidirectionalIterator<Payload>
ProtectedBidirectionalIterator is a BidirectionalIterator
that guarantees that every call to
remove() throws an
UnsupportedOperationException and doesn't alter the underlying data
structure.
ProtectedBidirectionalIterator is a marker interface.
| Modifier and Type | Method and Description |
|---|---|
void |
remove()
Always throws an
UnsupportedOperationException. |
hasPrevious, previousforEachRemaining, hasNext, nextvoid remove()
throws UnsupportedOperationException
UnsupportedOperationException.remove in interface BidirectionalIterator<Payload>remove in interface Iterator<Payload>remove in interface ProtectedIterator<Payload>UnsupportedOperationException - When trying to remove an element from an
ProtectedBidirectionalIterator.Copyright © 2015–2017 Markenwerk – Gesellschaft für markenbildende Maßnahmen mbH. All rights reserved.