Payload - The payload type.public final class ObjectIterator<Payload> extends AbstractIndexedIterator<Payload>
ObjectIterator is an AbstractIndexedIterator that iterates
over a single payload object.| Constructor and Description |
|---|
ObjectIterator(Payload value)
Creates a new
ObjectIterator. |
ObjectIterator(Payload value,
boolean ignoreNull)
Creates a new
ObjectIterator. |
| Modifier and Type | Method and Description |
|---|---|
Payload |
get(int index)
Returns the payload value at the given index.
|
hasNext, hasPrevious, next, previousremoveclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitremoveforEachRemainingpublic ObjectIterator(Payload value)
ObjectIterator.value - The object to iterate over.public ObjectIterator(Payload value, boolean ignoreNull)
ObjectIterator.value - The object to iterate over.ignoreNull - Whether to ignore null values.public Payload get(int index)
AbstractIndexedIteratorget in class AbstractIndexedIterator<Payload>index - The index to be used, which is guaranteed to be non-negative
and smaller then the maximum index.Copyright © 2015–2017 Markenwerk – Gesellschaft für markenbildende Maßnahmen mbH. All rights reserved.