private abstract static class DefaultImmutableMap.MapIterator<S,T>
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private DefaultImmutableMap<S,T> |
map |
Constructor and Description |
---|
MapIterator(DefaultImmutableMap<S,T> map) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
protected ImmutableMapEntry<S,T> |
nextEntry() |
void |
remove()
throws an unsupported operation exception as removing elements
is not allowed on immutable maps
|
private DefaultImmutableMap<S,T> map
MapIterator(DefaultImmutableMap<S,T> map)
public boolean hasNext()
protected final ImmutableMapEntry<S,T> nextEntry()
public void remove()