public abstract class KeyConversionMap<T,K,V> extends AbstractMap<K,V> implements Map<K,V>, Serializable
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| 限定符和类型 | 字段和说明 |
|---|---|
private Map<K,V> |
delegate |
private Map<T,K> |
keys |
private static long |
serialVersionUID |
| 限定符 | 构造器和说明 |
|---|---|
protected |
KeyConversionMap(Map<K,V> delegate) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
clear() |
boolean |
containsKey(Object key) |
protected abstract T |
convertKey(Object key) |
Set<Map.Entry<K,V>> |
entrySet() |
V |
get(Object key) |
V |
put(K key,
V value) |
V |
remove(Object key) |
clone, containsValue, equals, hashCode, isEmpty, keySet, putAll, size, toString, valuescompute, computeIfAbsent, computeIfPresent, containsValue, equals, forEach, getOrDefault, hashCode, isEmpty, keySet, merge, putAll, putIfAbsent, remove, replace, replace, replaceAll, size, valuesprivate static final long serialVersionUID
public boolean containsKey(Object key)
containsKey 在接口中 Map<K,V>containsKey 在类中 AbstractMap<K,V>Copyright © 2020. All rights reserved.