Package com.google.common.collect
Class AbstractNavigableMap<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>
- All Implemented Interfaces:
Map<K,,V> NavigableMap<K,,V> SequencedMap<K,,V> SortedMap<K,V>
- Direct Known Subclasses:
Maps.FilteredEntryNavigableMap,Maps.NavigableAsMapView,TreeRangeSet.ComplementRangesByLowerBound,TreeRangeSet.RangesByUpperBound,TreeRangeSet.SubRangeSetRangesByLowerBound
abstract class AbstractNavigableMap<K,V>
extends Maps.IteratorBasedAbstractMap<K,V>
implements NavigableMap<K,V>
Skeletal implementation of
NavigableMap.-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K, V> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionceilingEntry(K key) ceilingKey(K key) firstKey()floorEntry(K key) abstract VhigherEntry(K key) keySet()lastKey()lowerEntry(K key) Methods inherited from class com.google.common.collect.Maps.IteratorBasedAbstractMap
clear, entryIterator, entrySet, entrySpliterator, forEachEntry, sizeMethods 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
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, equals, forEach, getOrDefault, hashCode, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, sizeMethods inherited from interface java.util.NavigableMap
headMap, reversed, subMap, tailMapMethods inherited from interface java.util.SequencedMap
sequencedEntrySet, sequencedKeySet, sequencedValues
-
Constructor Details
-
AbstractNavigableMap
AbstractNavigableMap()
-
-
Method Details
-
get
-
firstEntry
- Specified by:
firstEntryin interfaceNavigableMap<K,V> - Specified by:
firstEntryin interfaceSequencedMap<K,V>
-
lastEntry
- Specified by:
lastEntryin interfaceNavigableMap<K,V> - Specified by:
lastEntryin interfaceSequencedMap<K,V>
-
pollFirstEntry
- Specified by:
pollFirstEntryin interfaceNavigableMap<K,V> - Specified by:
pollFirstEntryin interfaceSequencedMap<K,V>
-
pollLastEntry
- Specified by:
pollLastEntryin interfaceNavigableMap<K,V> - Specified by:
pollLastEntryin interfaceSequencedMap<K,V>
-
firstKey
-
lastKey
-
lowerEntry
- Specified by:
lowerEntryin interfaceNavigableMap<K,V>
-
floorEntry
- Specified by:
floorEntryin interfaceNavigableMap<K,V>
-
ceilingEntry
- Specified by:
ceilingEntryin interfaceNavigableMap<K,V>
-
higherEntry
- Specified by:
higherEntryin interfaceNavigableMap<K,V>
-
lowerKey
- Specified by:
lowerKeyin interfaceNavigableMap<K,V>
-
floorKey
- Specified by:
floorKeyin interfaceNavigableMap<K,V>
-
ceilingKey
- Specified by:
ceilingKeyin interfaceNavigableMap<K,V>
-
higherKey
- Specified by:
higherKeyin interfaceNavigableMap<K,V>
-
descendingEntryIterator
-
subMap
-
headMap
-
tailMap
-
keySet
-
descendingKeySet
- Specified by:
descendingKeySetin interfaceNavigableMap<K,V>
-
descendingMap
- Specified by:
descendingMapin interfaceNavigableMap<K,V>
-