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