Payload - The payload type.public final class ArrayIterable<Payload> extends Object implements ProtectedIterable<Payload>
ArrayIterable is a ProtectedIterable that generates
Iterators that iterate over a given payload array.| Constructor and Description |
|---|
ArrayIterable(Payload... array)
Creates a new
ArrayIterable. |
| Modifier and Type | Method and Description |
|---|---|
net.markenwerk.commons.iterators.ArrayIterator<Payload> |
iterator()
Returns a
ProtectedIterator. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic ArrayIterable(Payload... array) throws IllegalArgumentException
ArrayIterable.array - The payload array to iterate over.IllegalArgumentException - If the given payload array is null.public net.markenwerk.commons.iterators.ArrayIterator<Payload> iterator()
ProtectedIterableProtectedIterator.Copyright © 2015–2016 Markenwerk – Gesellschaft für markenbildende Maßnahmen mbH. All rights reserved.