static class Maps.UnmodifiableNavigableMap<K,V> extends ForwardingSortedMap<K,V> implements java.util.NavigableMap<K,V>, java.io.Serializable
ForwardingSortedMap.StandardKeySetForwardingMap.StandardEntrySet, ForwardingMap.StandardValues| Modifier and Type | Field and Description |
|---|---|
private java.util.NavigableMap<K,? extends V> |
delegate |
private Maps.UnmodifiableNavigableMap<K,V> |
descendingMap |
| Constructor and Description |
|---|
UnmodifiableNavigableMap(java.util.NavigableMap<K,? extends V> delegate) |
UnmodifiableNavigableMap(java.util.NavigableMap<K,? extends V> delegate,
Maps.UnmodifiableNavigableMap<K,V> descendingMap) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map.Entry<K,V> |
ceilingEntry(K key) |
K |
ceilingKey(K key) |
V |
compute(K key,
java.util.function.BiFunction<? super K,? super V,? extends V> remappingFunction) |
V |
computeIfAbsent(K key,
java.util.function.Function<? super K,? extends V> mappingFunction) |
V |
computeIfPresent(K key,
java.util.function.BiFunction<? super K,? super V,? extends V> remappingFunction) |
protected java.util.SortedMap<K,V> |
delegate()
Returns the backing delegate instance that methods are forwarded to.
|
java.util.NavigableSet<K> |
descendingKeySet() |
java.util.NavigableMap<K,V> |
descendingMap() |
java.util.Map.Entry<K,V> |
firstEntry() |
java.util.Map.Entry<K,V> |
floorEntry(K key) |
K |
floorKey(K key) |
java.util.SortedMap<K,V> |
headMap(K toKey) |
java.util.NavigableMap<K,V> |
headMap(K toKey,
boolean inclusive) |
java.util.Map.Entry<K,V> |
higherEntry(K key) |
K |
higherKey(K key) |
java.util.Set<K> |
keySet() |
java.util.Map.Entry<K,V> |
lastEntry() |
java.util.Map.Entry<K,V> |
lowerEntry(K key) |
K |
lowerKey(K key) |
V |
merge(K key,
V value,
java.util.function.BiFunction<? super V,? super V,? extends V> remappingFunction) |
java.util.NavigableSet<K> |
navigableKeySet() |
java.util.Map.Entry<K,V> |
pollFirstEntry() |
java.util.Map.Entry<K,V> |
pollLastEntry() |
V |
putIfAbsent(K key,
V value) |
boolean |
remove(java.lang.Object key,
java.lang.Object value) |
V |
replace(K key,
V value) |
boolean |
replace(K key,
V oldValue,
V newValue) |
void |
replaceAll(java.util.function.BiFunction<? super K,? super V,? extends V> function) |
java.util.NavigableMap<K,V> |
subMap(K fromKey,
boolean fromInclusive,
K toKey,
boolean toInclusive) |
java.util.SortedMap<K,V> |
subMap(K fromKey,
K toKey) |
java.util.SortedMap<K,V> |
tailMap(K fromKey) |
java.util.NavigableMap<K,V> |
tailMap(K fromKey,
boolean inclusive) |
comparator, firstKey, lastKey, standardContainsKey, standardSubMap, unsafeCompareclear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, put, putAll, remove, size, standardClear, standardContainsValue, standardEquals, standardHashCode, standardIsEmpty, standardPutAll, standardRemove, standardToString, valuestoStringclone, finalize, getClass, notify, notifyAll, wait, wait, wait@CheckForNull private transient Maps.UnmodifiableNavigableMap<K,V> descendingMap
UnmodifiableNavigableMap(java.util.NavigableMap<K,? extends V> delegate, Maps.UnmodifiableNavigableMap<K,V> descendingMap)
protected java.util.SortedMap<K,V> delegate()
ForwardingObjectForwardingSet.delegate(). Concrete subclasses override this method to supply the
instance being decorated.delegate in class ForwardingSortedMap<K,V>public void replaceAll(java.util.function.BiFunction<? super K,? super V,? extends V> function)
public boolean remove(java.lang.Object key,
java.lang.Object value)
public V computeIfAbsent(K key, java.util.function.Function<? super K,? extends V> mappingFunction)
public V computeIfPresent(K key, java.util.function.BiFunction<? super K,? super V,? extends V> remappingFunction)
public V compute(K key, java.util.function.BiFunction<? super K,? super V,? extends V> remappingFunction)
public V merge(K key, V value, java.util.function.BiFunction<? super V,? super V,? extends V> remappingFunction)
public java.util.Set<K> keySet()
public java.util.NavigableSet<K> navigableKeySet()
public java.util.NavigableSet<K> descendingKeySet()
public java.util.NavigableMap<K,V> subMap(K fromKey, boolean fromInclusive, K toKey, boolean toInclusive)