private static class Maps.SortedAsMapView<K,V> extends Maps.AsMapView<K,V> implements java.util.SortedMap<K,V>
function| Constructor and Description |
|---|
SortedAsMapView(java.util.SortedSet<K> set,
Function<? super K,V> function) |
| Modifier and Type | Method and Description |
|---|---|
(package private) java.util.SortedSet<K> |
backingSet() |
java.util.Comparator<? super K> |
comparator() |
K |
firstKey() |
java.util.SortedMap<K,V> |
headMap(K toKey) |
java.util.Set<K> |
keySet() |
K |
lastKey() |
java.util.SortedMap<K,V> |
subMap(K fromKey,
K toKey) |
java.util.SortedMap<K,V> |
tailMap(K fromKey) |
clear, containsKey, createEntrySet, createKeySet, createValues, forEach, get, getOrDefault, remove, sizeentrySet, valuesclone, containsValue, equals, hashCode, isEmpty, put, putAll, toStringjava.util.SortedSet<K> backingSet()
backingSet in class Maps.AsMapView<K,V>@CheckForNull public java.util.Comparator<? super K> comparator()
public java.util.Set<K> keySet()