K1
- The key type of the first map, and the effective key type of the map.V1
- The value type of the first mapK2
- The key type of the second map.V2
- The value type of the second map, and the effective value type of the map.public class CombinedMapsView<K1,V1,K2,V2> extends Object implements Map<K1,V2>
Maps.combine(..)
Maps.combine(Map, Map)
Constructor and Description |
---|
CombinedMapsView(Map<K1,V1> m1,
Fn<? super V1,? extends K2> connector,
Map<K2,V2> m2) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set<Map.Entry<K1,V2>> |
entrySet() |
V2 |
get(Object key) |
boolean |
isEmpty() |
Set<K1> |
keySet() |
V2 |
put(K1 key,
V2 value) |
void |
putAll(Map<? extends K1,? extends V2> m) |
V2 |
remove(Object key) |
int |
size() |
Collection<V2> |
values() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
Copyright © 2016. All Rights Reserved.