public final class ShortArrayIterator extends Object implements ProtectedIterator<Short>
| Constructor and Description |
|---|
ShortArrayIterator(short[] array)
Creates a new ShortArrayIterator that iterates over the
given
short[]. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
Short |
next() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic ShortArrayIterator(short[] array)
throws IllegalArgumentException
short[].array - The short[] to iterate over.IllegalArgumentException - If the given short[] is null.public Short next() throws NoSuchElementException
next in interface Iterator<Short>NoSuchElementExceptionpublic void remove()
throws UnsupportedOperationException
remove in interface Iterator<Short>UnsupportedOperationExceptionCopyright © 2015–2016 Markenwerk – Gesellschaft für markenbildende Maßnahmen mbH. All rights reserved.