public final class OpenIntToFieldHashMap.Iterator extends Object
Modifier and Type | Method and Description |
---|---|
void |
advance()
Advance iterator one step further.
|
boolean |
hasNext()
Check if there is a next element in the map.
|
int |
key()
Get the key of current entry.
|
T |
value()
Get the value of current entry.
|
public boolean hasNext()
public int key()
ConcurrentModificationException
- if the map is modified during iterationNoSuchElementException
- if there is no element left in the mappublic T value()
ConcurrentModificationException
- if the map is modified during iterationNoSuchElementException
- if there is no element left in the mappublic void advance()
ConcurrentModificationException
- if the map is modified during iterationNoSuchElementException
- if there is no element left in the mapCopyright © 2023 CNES. All rights reserved.