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