public class NonAbsentTreeMap<K,V> extends TreeMap<K,V>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| 构造器和说明 |
|---|
NonAbsentTreeMap(Comparator<? super K> comparator,
Supplier<K,V> supplier) |
NonAbsentTreeMap(Map<? extends K,? extends V> m,
Supplier<K,V> supplier) |
NonAbsentTreeMap(SortedMap<K,? extends V> m,
Supplier<K,V> supplier) |
NonAbsentTreeMap(Supplier<K,V> supplier) |
| 限定符和类型 | 方法和说明 |
|---|---|
V |
get(Object key) |
V |
get(Object key,
Supplier<K,V> supplier) |
V |
getIfPresent(Object key) |
V |
putIfAbsent(K key,
V value) |
ceilingEntry, ceilingKey, clear, clone, comparator, containsKey, containsValue, descendingKeySet, descendingMap, entrySet, firstEntry, firstKey, floorEntry, floorKey, forEach, headMap, headMap, higherEntry, higherKey, keySet, lastEntry, lastKey, lowerEntry, lowerKey, navigableKeySet, pollFirstEntry, pollLastEntry, put, putAll, remove, replace, replace, replaceAll, size, subMap, subMap, tailMap, tailMap, valuesequals, hashCode, isEmpty, toStringcompute, computeIfAbsent, computeIfPresent, equals, getOrDefault, hashCode, isEmpty, merge, removeCopyright © 2022. All rights reserved.