Constructor and Description |
---|
LongIterator(long missingValue,
long[] values)
Construct an
Iterator over an array of primitives longs. |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
Long |
next() |
long |
nextValue()
Strongly typed alternative of
Iterator.next() not to avoid boxing. |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
public LongIterator(long missingValue, long[] values)
Iterator
over an array of primitives longs.missingValue
- to indicate the value is missing, i.e. not present or null.values
- to iterate over.public long nextValue()
Iterator.next()
not to avoid boxing.Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.