public class InclusiveStartingCharIterator extends DelegatingUnaryCharIterator
iterator
EMPTY
Constructor and Description |
---|
InclusiveStartingCharIterator(CharIterator iterator,
char element) |
InclusiveStartingCharIterator(CharIterator iterator,
CharPredicate predicate) |
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 InclusiveStartingCharIterator(CharIterator iterator, char element)
public InclusiveStartingCharIterator(CharIterator iterator, CharPredicate predicate)
public boolean hasNext()
hasNext
in interface java.util.Iterator<java.lang.Character>
hasNext
in class DelegatingTransformingIterator<java.lang.Character,CharIterator,java.lang.Character>
public char nextChar()
CharIterator
char
in this iterator.