public class ForwardPeekingMappingCharIterator extends UnaryCharIterator
iteratorEMPTY| Constructor and Description |
|---|
ForwardPeekingMappingCharIterator(CharIterator iterator,
char lastNext,
CharBinaryOperator mapper) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
char |
nextChar()
Return the next
char in this iterator. |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemaining, forEachRemaining, from, from, from, from, from, next, of, reduce, skip, skippublic ForwardPeekingMappingCharIterator(CharIterator iterator, char lastNext, CharBinaryOperator mapper)
public boolean hasNext()
hasNext in interface java.util.Iterator<java.lang.Character>hasNext in class MappedIterator<java.lang.Character,CharIterator,java.lang.Character>public char nextChar()
CharIteratorchar in this iterator.public void remove()
remove in interface java.util.Iterator<java.lang.Character>remove in class MappedIterator<java.lang.Character,CharIterator,java.lang.Character>