public class OpenIntToDoubleHashMap.Iterator
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private int |
current
Index of current element.
|
private int |
next
Index of next element.
|
private int |
referenceCount
Reference modification count.
|
Modifier | Constructor and Description |
---|---|
private |
OpenIntToDoubleHashMap.Iterator()
Simple constructor.
|
private final int referenceCount
private int current
private int next
private OpenIntToDoubleHashMap.Iterator()
public boolean hasNext()
public int key() throws java.util.ConcurrentModificationException, java.util.NoSuchElementException
java.util.ConcurrentModificationException
- if the map is modified during iterationjava.util.NoSuchElementException
- if there is no element left in the mappublic double value() throws java.util.ConcurrentModificationException, java.util.NoSuchElementException
java.util.ConcurrentModificationException
- if the map is modified during iterationjava.util.NoSuchElementException
- if there is no element left in the mappublic void advance() throws java.util.ConcurrentModificationException, java.util.NoSuchElementException
java.util.ConcurrentModificationException
- if the map is modified during iterationjava.util.NoSuchElementException
- if there is no element left in the mapCopyright (c) 2003-2016 Apache Software Foundation