public final class CharacterArrayIterator extends Object implements ProtectedIterator<Character>
| Constructor and Description |
|---|
CharacterArrayIterator(char[] array)
Creates a new CharacterArrayIterator that iterates over the
given
char[]. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
Character |
next() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic CharacterArrayIterator(char[] array)
throws IllegalArgumentException
char[].array - The char[] to iterate over.IllegalArgumentException - If the given char[] is null.public Character next() throws NoSuchElementException
next in interface Iterator<Character>NoSuchElementExceptionpublic void remove()
throws IllegalStateException,
UnsupportedOperationException
remove in interface Iterator<Character>IllegalStateExceptionUnsupportedOperationExceptionCopyright © 2015–2016 Markenwerk – Gesellschaft für markenbildende Maßnahmen mbH. All rights reserved.