Payload - The payload type.public final class ProtectingBidirectionalIterable<Payload> extends Object implements ProtectedBidirectionalIterable<Payload>
ProtectingBidirectionalIterable is a
ProtectedBidirectionalIterable that can be wrapped around a given
BidirectionalIterable and generates that every call to
iterator() yields a
ProtectedIterator.| Constructor and Description |
|---|
ProtectingBidirectionalIterable(BidirectionalIterable<Payload> iterable)
Creates a new
ProtectingBidirectionalIterable. |
| Modifier and Type | Method and Description |
|---|---|
ProtectingBidirectionalIterator<Payload> |
iterator()
Returns a
ProtectedIterator. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic ProtectingBidirectionalIterable(BidirectionalIterable<Payload> iterable) throws IllegalArgumentException
ProtectingBidirectionalIterable.iterable - The Iterable to iterate over.IllegalArgumentException - If the given Iterable is null.public ProtectingBidirectionalIterator<Payload> iterator()
ProtectedBidirectionalIterableProtectedIterator.iterator in interface Iterable<Payload>iterator in interface BidirectionalIterable<Payload>iterator in interface ProtectedBidirectionalIterable<Payload>ProtectedIterator.Copyright © 2015–2017 Markenwerk – Gesellschaft für markenbildende Maßnahmen mbH. All rights reserved.