|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.math3.util.OpenIntToFieldHashMap.Iterator
public class OpenIntToFieldHashMap.Iterator
Iterator class for the map.
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public boolean hasNext()
public int key() throws ConcurrentModificationException, NoSuchElementException
ConcurrentModificationException
- if the map is modified during iteration
NoSuchElementException
- if there is no element left in the mappublic T value() throws ConcurrentModificationException, NoSuchElementException
ConcurrentModificationException
- if the map is modified during iteration
NoSuchElementException
- if there is no element left in the mappublic void advance() throws ConcurrentModificationException, NoSuchElementException
ConcurrentModificationException
- if the map is modified during iteration
NoSuchElementException
- if there is no element left in the map
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |