public interface CharIterator
Iterator| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext()
Indicates whether more char values can be returned by this
iterator.
|
char |
next()
Returns the next char value of this iterator.
|
void |
remove()
Removes the last char value returned from the underlying
collection.
|
boolean hasNext()
next()char next()
NoSuchElementException - if no more elements are available from this
iterator.hasNext()void remove()
UnsupportedOperationException - if removal is not supported by this iterator.IllegalStateException - if no element has been returned by this iterator
yet.Copyright © 2011–2021. All rights reserved.