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