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