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