public final class IntegerArrayIterator extends AbstractIndexedIterator<Integer>
| Constructor and Description |
|---|
IntegerArrayIterator(int... array)
Creates a new IntegerArrayIterator.
|
| Modifier and Type | Method and Description |
|---|---|
Integer |
get(int index)
Returns the payload value at the given index.
|
hasNext, hasPrevious, next, previousremoveclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitremoveforEachRemainingpublic IntegerArrayIterator(int... array)
throws IllegalArgumentException
array - The int[] to iterate over.IllegalArgumentException - If the given int[] is null.public Integer get(int index)
AbstractIndexedIteratorget in class AbstractIndexedIterator<Integer>index - The index to be used, which is guaranteed to be non-negative
and smaller then the maximum index.Copyright © 2015–2017 Markenwerk – Gesellschaft für markenbildende Maßnahmen mbH. All rights reserved.