Package com.google.common.collect
Class Maps.NavigableAsMapView<K,V>
java.lang.Object
java.util.AbstractMap<K,V>
com.google.common.collect.Maps.IteratorBasedAbstractMap<K,V>
com.google.common.collect.AbstractNavigableMap<K,V>
com.google.common.collect.Maps.NavigableAsMapView<K,V>
- All Implemented Interfaces:
Map<K,,V> NavigableMap<K,,V> SortedMap<K,V>
- Enclosing class:
- Maps
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()Comparator<? super K>(package private) Spliterator<Map.Entry<K,V>> voidforEach(BiConsumer<? super K, ? super V> action) getOrDefault(Object key, V defaultValue) intsize()Methods inherited from class com.google.common.collect.AbstractNavigableMap
ceilingEntry, ceilingKey, descendingKeySet, firstEntry, firstKey, floorEntry, floorKey, headMap, higherEntry, higherKey, keySet, lastEntry, lastKey, lowerEntry, lowerKey, pollFirstEntry, pollLastEntry, subMap, tailMapMethods inherited from class com.google.common.collect.Maps.IteratorBasedAbstractMap
entrySet, forEachEntryMethods inherited from class java.util.AbstractMap
clone, containsKey, containsValue, equals, hashCode, isEmpty, put, putAll, remove, toString, valuesMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, equals, hashCode, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll
-
Field Details
-
set
-
function
-
-
Constructor Details
-
Method Details
-
subMap
-
headMap
-
tailMap
-
comparator
-
get
-
getOrDefault
-
clear
public void clear() -
entryIterator
- Specified by:
entryIteratorin classMaps.IteratorBasedAbstractMap<K,V>
-
entrySpliterator
Spliterator<Map.Entry<K,V>> entrySpliterator()- Overrides:
entrySpliteratorin classMaps.IteratorBasedAbstractMap<K,V>
-
forEach
-
descendingEntryIterator
- Specified by:
descendingEntryIteratorin classAbstractNavigableMap<K,V>
-
size
public int size() -
descendingMap
- Specified by:
descendingMapin interfaceNavigableMap<K,V> - Overrides:
descendingMapin classAbstractNavigableMap<K,V>
-