Payload - The payload type.public final class ProtectingIterable<Payload> extends Object implements ProtectedIterable<Payload>
ProtectingIterable is a ProtectedIterable that can be
wrapped around a given Iterable and generates
ProtectedIterators.
Calling iterator() creates an instance of
ProtectingIterator.
| Constructor and Description |
|---|
ProtectingIterable(Iterable<Payload> iterable)
Creates a new
ProtectingIterable from the given Iterable. |
| Modifier and Type | Method and Description |
|---|---|
ProtectingIterator<Payload> |
iterator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic ProtectingIterable(Iterable<Payload> iterable) throws IllegalArgumentException
ProtectingIterable from the given Iterable.iterable - The Iterable, around which the new
ProtectingIterable will be wrapped.IllegalArgumentException - If the given Iterable is null.public ProtectingIterator<Payload> iterator()
Copyright © 2015–2016 Markenwerk – Gesellschaft für markenbildende Maßnahmen mbH. All rights reserved.