@Mutable public class ReadOnlyIterableIterator<ELEMENT> extends ReadOnlyIterator<ELEMENT>
| Modifier and Type | Field and Description |
|---|---|
protected @Nonnull Iterator<? extends ELEMENT> |
iterator |
| Modifier | Constructor and Description |
|---|---|
protected |
ReadOnlyIterableIterator(@Nonnull Iterator<? extends ELEMENT> iterator) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
ELEMENT |
next() |
static <ELEMENT> @Nonnull ReadOnlyIterableIterator<ELEMENT> |
with(@Nonnull Iterator<? extends ELEMENT> iterator)
Returns a read-only iterable iterator that captures the given iterator.
|
removeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingCopyright © 2017. All rights reserved.