DEFAULT_INITIAL_CAPACITY, DEFAULT_LOAD_FACTOR| 构造器和说明 |
|---|
CustomKeyMap(Map<K,V> emptyMap)
构造
通过传入一个Map从而确定Map的类型,子类需创建一个空的Map,而非传入一个已有Map,否则值可能会被修改 |
| 限定符和类型 | 方法和说明 |
|---|---|
protected V |
customValue(Object value)
自定义值
|
compute, computeIfAbsent, computeIfPresent, containsKey, customKey, get, getOrDefault, merge, put, putAll, putIfAbsent, remove, remove, replace, replaceclear, clone, containsValue, entrySet, equals, forEach, getRaw, hashCode, isEmpty, iterator, keySet, replaceAll, size, toString, valuesforEach, spliteratorCopyright © 2024. All rights reserved.