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, valuesMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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:
containsKeyin interfaceMap<K,V1> - Overrides:
containsKeyin classAbstractMap<K,V2>
-
get
-
remove
-
clear
public void clear() -
entrySet
-