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