public final class LongArrayIterable extends Object implements ProtectedBidirectionalIterable<Long>
LongArrayIterable is a ProtectedBidirectionalIterable that
generates Iterators that iterate over a given long[]
.| Constructor and Description |
|---|
LongArrayIterable(long... array)
Creates a new
LongArrayIterable. |
| Modifier and Type | Method and Description |
|---|---|
LongArrayIterator |
iterator()
Returns a
ProtectedIterator. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic LongArrayIterable(long... array)
throws IllegalArgumentException
LongArrayIterable.array - The long[] to iterate over.IllegalArgumentException - If the given long[] is null.public LongArrayIterator iterator()
ProtectedBidirectionalIterableProtectedIterator.iterator in interface Iterable<Long>iterator in interface BidirectionalIterable<Long>iterator in interface ProtectedBidirectionalIterable<Long>ProtectedIterator.Copyright © 2015–2017 Markenwerk – Gesellschaft für markenbildende Maßnahmen mbH. All rights reserved.