T - the type of the encapsulated iteratorpublic final class UnmodifiableIterator<T> extends Object implements Iterator<T>
UnsupportedOperationException.
This class is thread-safe.
| Constructor and Description |
|---|
UnmodifiableIterator(Iterator<T> encapsulatedIterator)
Constructs a new unmodifiable iterator.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
T |
next() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingCopyright © 2015 The Apache Software Foundation. All rights reserved.