public class TransformingMap<K,V1,V2> extends AbstractMap<K,V2>
Maps.transformValues
.AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
TransformingMap(Map<K,V1> fromMap,
com.google.common.base.Function<? super V1,V2> getFunction,
com.google.common.base.Function<? super V2,V1> putFunction) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
containsKey(Object key) |
Set<Map.Entry<K,V2>> |
entrySet() |
V2 |
get(Object key) |
V2 |
put(K key,
V2 value) |
V2 |
remove(Object key) |
int |
size() |
clone, containsValue, equals, hashCode, isEmpty, keySet, putAll, toString, values
public int size()
public boolean containsKey(Object key)
containsKey
in interface Map<K,V2>
containsKey
in class AbstractMap<K,V2>
public void clear()
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.