public class BiMultiMap<K>
extends java.util.HashMap<K,java.lang.Object>
Used by GeoJsonRenderer to store GeoJsonFeature instances mapped to corresponding Marker, Polyline, and Polygon map objects. We want to look these up in reverse to provide access to GeoJsonFeature instances when map objects are clicked.
Constructor and Description |
---|
BiMultiMap() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
BiMultiMap<K> |
clone() |
K |
getKey(java.lang.Object value)
Reverse lookup of key by value.
|
java.lang.Object |
put(K key,
java.util.Collection values) |
java.lang.Object |
put(K key,
java.lang.Object value) |
void |
putAll(java.util.Map<? extends K,?> map) |
java.lang.Object |
remove(java.lang.Object key) |
compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, putIfAbsent, remove, replace, replace, replaceAll, size, values
public void putAll(java.util.Map<? extends K,?> map)
public java.lang.Object put(K key, java.lang.Object value)
public java.lang.Object put(K key, java.util.Collection values)
public java.lang.Object remove(java.lang.Object key)
public void clear()
public BiMultiMap<K> clone()
clone
in class java.util.HashMap<K,java.lang.Object>
public K getKey(java.lang.Object value)
value
- Value to lookup