Package com.google.common.collect
Class Maps.SortedAsMapView<K,V>
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- com.google.common.collect.Maps.ViewCachingAbstractMap<K,V>
-
- com.google.common.collect.Maps.AsMapView<K,V>
-
- com.google.common.collect.Maps.SortedAsMapView<K,V>
-
- All Implemented Interfaces:
java.util.Map<K,V>,java.util.SortedMap<K,V>
- Enclosing class:
- Maps
private static class Maps.SortedAsMapView<K,V> extends Maps.AsMapView<K,V> implements java.util.SortedMap<K,V>
-
-
Field Summary
-
Fields inherited from class com.google.common.collect.Maps.AsMapView
function
-
-
Constructor Summary
Constructors Constructor Description SortedAsMapView(java.util.SortedSet<K> set, Function<? super K,V> function)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) java.util.SortedSet<K>backingSet()java.util.Comparator<? super K>comparator()KfirstKey()java.util.SortedMap<K,V>headMap(K toKey)java.util.Set<K>keySet()KlastKey()java.util.SortedMap<K,V>subMap(K fromKey, K toKey)java.util.SortedMap<K,V>tailMap(K fromKey)-
Methods inherited from class com.google.common.collect.Maps.AsMapView
clear, containsKey, createEntrySet, createKeySet, createValues, forEach, get, getOrDefault, remove, size
-
Methods inherited from class com.google.common.collect.Maps.ViewCachingAbstractMap
entrySet, values
-
Methods inherited from class java.util.AbstractMap
clone, containsValue, equals, hashCode, isEmpty, put, putAll, toString
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
backingSet
java.util.SortedSet<K> backingSet()
- Overrides:
backingSetin classMaps.AsMapView<K,V>
-
comparator
public java.util.Comparator<? super K> comparator()
-
keySet
public java.util.Set<K> keySet()
-
-