public class ReferenceIterator extends StringIterator
| Constructor and Description |
|---|
ReferenceIterator() |
| Modifier and Type | Method and Description |
|---|---|
String |
current() |
boolean |
hasNext() |
protected String |
nextImpl()
This method returns correct value only on top level iterator.
|
void |
reset() |
void |
setOther(StringIterator other) |
String |
toString() |
nextclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEachRemaining, removepublic void setOther(StringIterator other)
protected String nextImpl()
StringIteratornextImpl in class StringIteratorpublic String current()
current in class StringIteratorpublic void reset()
reset in class StringIteratorpublic boolean hasNext()
Copyright © 2020. All rights reserved.