public class InterleavingCharIterator extends java.lang.Object implements CharIterator
Iterator
that interleaves the streams of two other Iterator
s 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, wait
public InterleavingCharIterator(CharIterable... iterables)
public char nextChar()
CharIterator
char
in this iterator.nextChar
in interface CharIterator
public boolean hasNext()
hasNext
in interface java.util.Iterator<java.lang.Character>