Payload - The payload type.public final class ArrayIterable<Payload> extends Object implements ProtectedBidirectionalIterable<Payload>
ArrayIterable is a ProtectedBidirectionalIterable 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 |
|---|---|
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 ArrayIterator<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.