public interface XCharIterator
Iterator
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext()
Returns true if the iteration has more elements.
|
char |
next()
Returns the next element in the iteration.
|
void |
remove()
Removes from the underlying collection the last element returned by the
iterator (optional operation).
|
XCharIterator |
toFirst()
Resets the iterator to the beginning.
|
boolean hasNext()
char next()
NoSuchElementException
- iteration has no more elements.void remove()
UnsupportedOperationException
- if the remove
operation is not supported by this Iterator.IllegalStateException
- if the next method has not
yet been called, or the remove method has already
been called after the last call to the next
method.XCharIterator toFirst()
UnsupportedOperationException
- if the toFirst
operation is not supported by this iterator.Copyright © 2019 Neeve Research, LLC. All Rights Reserved.