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> SequencedMap<K,
,V> SortedMap<K,
V>
- Enclosing class:
Maps
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,
V>, AbstractMap.SimpleImmutableEntry<K, V> -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
Comparator
<? super K> (package private) Spliterator
<Map.Entry<K, V>> void
forEach
(BiConsumer<? super K, ? super V> action) getOrDefault
(Object key, V defaultValue) int
size()
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, tailMap
Methods inherited from class com.google.common.collect.Maps.IteratorBasedAbstractMap
entrySet, forEachEntry
Methods inherited from class java.util.AbstractMap
clone, containsKey, containsValue, equals, hashCode, isEmpty, put, putAll, remove, toString, values
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, equals, hashCode, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll
Methods inherited from interface java.util.NavigableMap
reversed
Methods inherited from interface java.util.SequencedMap
sequencedEntrySet, sequencedKeySet, sequencedValues
-
Field Details
-
set
-
function
-
-
Constructor Details
-
Method Details
-
subMap
-
headMap
-
tailMap
-
comparator
-
get
-
getOrDefault
-
clear
public void clear() -
entryIterator
- Specified by:
entryIterator
in classMaps.IteratorBasedAbstractMap<K,
V>
-
entrySpliterator
Spliterator<Map.Entry<K,V>> entrySpliterator()- Overrides:
entrySpliterator
in classMaps.IteratorBasedAbstractMap<K,
V>
-
forEach
-
descendingEntryIterator
- Specified by:
descendingEntryIterator
in classAbstractNavigableMap<K,
V>
-
size
public int size() -
descendingMap
- Specified by:
descendingMap
in interfaceNavigableMap<K,
V> - Overrides:
descendingMap
in classAbstractNavigableMap<K,
V>
-