Payload - The payload type.public final class PairIterable<Payload> extends Object implements ProtectedBidirectionalIterable<Payload>
PairIterable is a ProtectedBidirectionalIterable that
generates Iterators that iterate over a given
NodeList.| Constructor and Description |
|---|
PairIterable(Pair<Payload> pair)
Creates a new
PairIterable. |
| Modifier and Type | Method and Description |
|---|---|
PairIterator<Payload> |
iterator()
Returns a
ProtectedIterator. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic PairIterable(Pair<Payload> pair) throws IllegalArgumentException
PairIterable.pair - The Pair to iterate over.IllegalArgumentException - If the given Pair is null.public PairIterator<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.