public final class CharacterArrayIterable extends Object implements ProtectedIterable<Character>
CharacterArrayIterable is a ProtectedIterable that
generates Iterators that iterate over a given char[]
.
Calling iterator() creates an instance of
CharacterArrayIterator.
| Constructor and Description |
|---|
CharacterArrayIterable(char[] array)
Creates a new
CharacterArrayIterable for the given char[]
. |
| Modifier and Type | Method and Description |
|---|---|
CharacterArrayIterator |
iterator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic CharacterArrayIterable(char[] array)
throws IllegalArgumentException
CharacterArrayIterable for the given char[]
.array - The char[] to iterate over.IllegalArgumentException - If the given char[] is null.public CharacterArrayIterator iterator()
Copyright © 2015–2016 Markenwerk – Gesellschaft für markenbildende Maßnahmen mbH. All rights reserved.