Package org.jclouds.collect
Class TransformingMap<K,V1,V2>
java.lang.Object
java.util.AbstractMap<K,V2>
org.jclouds.collect.TransformingMap<K,V1,V2>
- All Implemented Interfaces:
Map<K,
V2>
A map that transforms values on the way in and out. Inspired by the guava method
Maps.transformValues
.-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,
V>, AbstractMap.SimpleImmutableEntry<K, V> -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.AbstractMap
clone, containsValue, equals, hashCode, isEmpty, keySet, putAll, toString, values
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Constructor Details
-
TransformingMap
-
-
Method Details
-
size
public int size() -
put
-
containsKey
- Specified by:
containsKey
in interfaceMap<K,
V1> - Overrides:
containsKey
in classAbstractMap<K,
V2>
-
get
-
remove
-
clear
public void clear() -
entrySet
-