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