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