public class InclusiveTerminalCharIterator extends UnaryCharIterator
iterator
EMPTY
Constructor and Description |
---|
InclusiveTerminalCharIterator(CharIterator iterator,
char terminal) |
InclusiveTerminalCharIterator(CharIterator iterator,
CharPredicate terminal) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
char |
nextChar()
Return the next
char in this iterator. |
remove
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public InclusiveTerminalCharIterator(CharIterator iterator, char terminal)
public InclusiveTerminalCharIterator(CharIterator iterator, CharPredicate terminal)
public char nextChar()
CharIterator
char
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>