protected class AbstractKeyBasedMap.ValuesCollection.ValuesIterator extends Object implements Iterator<V>
| Modifier and Type | Field and Description |
|---|---|
protected Iterator<K> |
m_iterKeys
A key iterator.
|
| Modifier | Constructor and Description |
|---|---|
protected |
ValuesIterator() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext()
Returns true if the iteration has more elements.
|
V |
next()
Returns the next element in the iteration.
|
void |
remove()
Removes from the underlying collection the last element returned by the iterator.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic boolean hasNext()
public V next()
next in interface Iterator<V>NoSuchElementException - iteration has no more elementspublic void remove()
remove in interface Iterator<V>IllegalStateException - if the next method has not yet been called, or the remove method has already been called after the last call to the next method