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