| Constructor and Description |
|---|
ReadOnlyIterator(Iterator it)
Creates a new read-only iterator for the given iterator.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext()
Returns true if the iteration has more elements.
|
Object |
next()
Returns the next element in the iteration.
|
void |
remove()
Throws
UnsupportedOperationException. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic ReadOnlyIterator(Iterator it)
it - the iterator.public boolean hasNext()
public Object next()
Copyright © 2001–2014 JFree.org. All rights reserved.