public class InterleavingCharIterator extends java.lang.Object implements CharIterator
Iterator that interleaves the streams of two other Iterators with each other.EMPTY| Constructor and Description |
|---|
InterleavingCharIterator(CharIterable... iterables) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
char |
nextChar()
Return the next
char in this iterator. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic InterleavingCharIterator(CharIterable... iterables)
public char nextChar()
CharIteratorchar in this iterator.nextChar in interface CharIteratorpublic boolean hasNext()
hasNext in interface java.util.Iterator<java.lang.Character>