public final class TransitiveMap<K,V2>
extends com.google.common.collect.ForwardingMap<K,V2>
new TransitiveMap(
ImmutableMap.of(
"dude", 4,
"man", 3
),
(k, v) -> new Placard(k ,v)
); // { "dude" -> Placard("dude", 4), "man" -> Placard("man", 3) }
| Constructor and Description |
|---|
TransitiveMap(Map<K,V1> base,
java.util.function.BiFunction<K,V1,V2> function) |
| Modifier and Type | Method and Description |
|---|---|
protected Map<K,V2> |
delegate() |
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, standardClear, standardContainsKey, standardContainsValue, standardEquals, standardHashCode, standardIsEmpty, standardPutAll, standardRemove, standardToString, valuesclone, finalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllCopyright © 2012–2015 jcabi.com. All rights reserved.