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