static class Maps.TransformedEntriesMap<K,V1,V2> extends Maps.ImprovedAbstractMap<K,V2>
| Modifier and Type | Field and Description |
|---|---|
(package private) java.util.Map<K,V1> |
fromMap |
(package private) Maps.EntryTransformer<? super K,? super V1,V2> |
transformer |
| Constructor and Description |
|---|
TransformedEntriesMap(java.util.Map<K,V1> fromMap,
Maps.EntryTransformer<? super K,? super V1,V2> transformer) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
containsKey(java.lang.Object key) |
protected java.util.Set<java.util.Map.Entry<K,V2>> |
createEntrySet()
Creates the entry set to be returned by
Maps.ImprovedAbstractMap.entrySet(). |
V2 |
get(java.lang.Object key) |
java.util.Set<K> |
keySet() |
V2 |
remove(java.lang.Object key) |
int |
size() |
createKeySet, createValues, entrySet, valuesclone, containsValue, equals, hashCode, isEmpty, put, putAll, toStringfinal Maps.EntryTransformer<? super K,? super V1,V2> transformer
public int size()
public boolean containsKey(java.lang.Object key)
public V2 get(java.lang.Object key)
public V2 remove(java.lang.Object key)
public void clear()
public java.util.Set<K> keySet()
protected java.util.Set<java.util.Map.Entry<K,V2>> createEntrySet()
Maps.ImprovedAbstractMapMaps.ImprovedAbstractMap.entrySet(). This method
is invoked at most once on a given map, at the time when entrySet
is first called.createEntrySet in class Maps.ImprovedAbstractMap<K,V2>