Payload - The payload type.public final class ArrayIterable<Payload> extends Object implements Iterable<Payload>
ArrayIterable is a Iterable that generates
Iterators that iterate over a given payload array.
Calling iterator() creates an instance of
ArrayIterator.
| Constructor and Description |
|---|
ArrayIterable(Payload[] values)
Creates a new
ArrayIterable for the given payload array. |
ArrayIterable(Payload[] values,
Payload replacement)
Creates a new
ArrayIterable for the given payload array. |
| Modifier and Type | Method and Description |
|---|---|
Iterator<Payload> |
iterator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic ArrayIterable(Payload[] values)
ArrayIterable for the given payload array.values - The payload array to iterate over.public ArrayIterable(Payload[] values, Payload replacement)
ArrayIterable for the given payload array.values - The payload array to iterate over.replacement - The value to replace removed values with.Copyright © 2015 Markenwerk – Gesellschaft für markenbildende Maßnahmen mbH. All rights reserved.