public class IntIterator
extends java.lang.Object
implements java.util.Iterator<java.lang.Integer>, java.io.Serializable
Iterator
for a sequence of primitive values.Modifier and Type | Field and Description |
---|---|
protected boolean |
isPositionValid |
Modifier | Constructor and Description |
---|---|
protected |
IntIterator() |
Modifier and Type | Method and Description |
---|---|
protected void |
findNext() |
boolean |
hasNext() |
java.lang.Integer |
next() |
int |
nextValue()
Strongly typed alternative of
Iterator.next() to avoid boxing. |
protected int |
position() |
int |
remaining() |
protected int position()
public boolean hasNext()
hasNext
in interface java.util.Iterator<java.lang.Integer>
public int remaining()
public java.lang.Integer next()
next
in interface java.util.Iterator<java.lang.Integer>
public int nextValue()
Iterator.next()
to avoid boxing.protected void findNext()
Copyright © 2014-2017 Real Logic Ltd. All Rights Reserved.