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