Package com.google.common.collect
Class Maps.UnmodifiableNavigableMap<K,V>
java.lang.Object
com.google.common.collect.ForwardingObject
com.google.common.collect.ForwardingMap<K,V>
com.google.common.collect.ForwardingSortedMap<K,V>
com.google.common.collect.Maps.UnmodifiableNavigableMap<K,V>
- All Implemented Interfaces:
Serializable,Map<K,,V> NavigableMap<K,,V> SortedMap<K,V>
- Enclosing class:
- Maps
static class Maps.UnmodifiableNavigableMap<K,V>
extends ForwardingSortedMap<K,V>
implements NavigableMap<K,V>, Serializable
-
Nested Class Summary
Nested classes/interfaces inherited from class com.google.common.collect.ForwardingSortedMap
ForwardingSortedMap.StandardKeySetNested classes/interfaces inherited from class com.google.common.collect.ForwardingMap
ForwardingMap.StandardEntrySet, ForwardingMap.StandardValues -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final NavigableMap<K,? extends V> private Maps.UnmodifiableNavigableMap<K,V> -
Constructor Summary
ConstructorsConstructorDescriptionUnmodifiableNavigableMap(NavigableMap<K, ? extends V> delegate) UnmodifiableNavigableMap(NavigableMap<K, ? extends V> delegate, Maps.UnmodifiableNavigableMap<K, V> descendingMap) -
Method Summary
Modifier and TypeMethodDescriptionceilingEntry(K key) ceilingKey(K key) delegate()Returns the backing delegate instance that methods are forwarded to.floorEntry(K key) higherEntry(K key) keySet()lowerEntry(K key) Methods inherited from class com.google.common.collect.ForwardingSortedMap
comparator, firstKey, lastKey, standardContainsKey, standardSubMap, unsafeCompareMethods inherited from class com.google.common.collect.ForwardingMap
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, put, putAll, remove, size, standardClear, standardContainsValue, standardEquals, standardHashCode, standardIsEmpty, standardPutAll, standardRemove, standardToString, valuesMethods inherited from class com.google.common.collect.ForwardingObject
toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Map
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, equals, forEach, get, getOrDefault, hashCode, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size
-
Field Details
-
delegate
-
descendingMap
-
-
Constructor Details
-
Method Details
-
delegate
Description copied from class:ForwardingObjectReturns the backing delegate instance that methods are forwarded to. Abstract subclasses generally override this method with an abstract method that has a more specific return type, such asForwardingSet.delegate(). Concrete subclasses override this method to supply the instance being decorated.- Specified by:
delegatein classForwardingSortedMap<K,V>
-
lowerEntry
- Specified by:
lowerEntryin interfaceNavigableMap<K,V>
-
lowerKey
- Specified by:
lowerKeyin interfaceNavigableMap<K,V>
-
floorEntry
- Specified by:
floorEntryin interfaceNavigableMap<K,V>
-
floorKey
- Specified by:
floorKeyin interfaceNavigableMap<K,V>
-
ceilingEntry
- Specified by:
ceilingEntryin interfaceNavigableMap<K,V>
-
ceilingKey
- Specified by:
ceilingKeyin interfaceNavigableMap<K,V>
-
higherEntry
- Specified by:
higherEntryin interfaceNavigableMap<K,V>
-
higherKey
- Specified by:
higherKeyin interfaceNavigableMap<K,V>
-
firstEntry
- Specified by:
firstEntryin interfaceNavigableMap<K,V>
-
lastEntry
- Specified by:
lastEntryin interfaceNavigableMap<K,V>
-
pollFirstEntry
- Specified by:
pollFirstEntryin interfaceNavigableMap<K,V>
-
pollLastEntry
- Specified by:
pollLastEntryin interfaceNavigableMap<K,V>
-
descendingMap
- Specified by:
descendingMapin interfaceNavigableMap<K,V>
-
keySet
-
descendingKeySet
- Specified by:
descendingKeySetin interfaceNavigableMap<K,V>
-
subMap
-
subMap
- Specified by:
subMapin interfaceNavigableMap<K,V>
-
headMap
-
headMap
- Specified by:
headMapin interfaceNavigableMap<K,V>
-
tailMap
-
tailMap
- Specified by:
tailMapin interfaceNavigableMap<K,V>
-