Payload - The payload type.public final class NullSaveIterable<Payload> extends Object implements Iterable<Payload>
NullSaveIterable is an Iterable that can be wrapped around
a given Iterable and generates Iterators that always
behaves correctly, even if the given Iterable is null (by
generating an EmptyIterator).| Constructor and Description |
|---|
NullSaveIterable(Iterable<? extends Payload> iterable)
Creates a new
NullSaveIterable. |
| Modifier and Type | Method and Description |
|---|---|
Iterator<Payload> |
iterator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorCopyright © 2015–2017 Markenwerk – Gesellschaft für markenbildende Maßnahmen mbH. All rights reserved.