public class ExclusiveTerminalCharIterator extends UnaryCharIterator
iteratorEMPTY| Constructor and Description |
|---|
ExclusiveTerminalCharIterator(CharIterator iterator,
char terminal) |
ExclusiveTerminalCharIterator(CharIterator iterator,
CharPredicate terminal) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
char |
nextChar()
Return the next
char in this iterator. |
removeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic ExclusiveTerminalCharIterator(CharIterator iterator, char terminal)
public ExclusiveTerminalCharIterator(CharIterator iterator, CharPredicate terminal)
public char nextChar()
CharIteratorchar in this iterator.public boolean hasNext()
hasNext in interface java.util.Iterator<java.lang.Character>hasNext in class DelegatingIterator<java.lang.Character,CharIterator,java.lang.Character>