@GwtIncompatible(value="NavigableMap") static class Maps.UnmodifiableNavigableMap<K,V> extends ForwardingSortedMap<K,V> implements java.util.NavigableMap<K,V>, java.io.Serializable
ForwardingSortedMap.StandardKeySet
ForwardingMap.StandardEntrySet, ForwardingMap.StandardValues
Modifier and Type | Field and Description |
---|---|
private java.util.NavigableMap<K,V> |
delegate |
private Maps.UnmodifiableNavigableMap<K,V> |
descendingMap |
Constructor and Description |
---|
UnmodifiableNavigableMap(java.util.NavigableMap<K,V> delegate) |
UnmodifiableNavigableMap(java.util.NavigableMap<K,V> delegate,
Maps.UnmodifiableNavigableMap<K,V> descendingMap) |
Modifier and Type | Method and Description |
---|---|
java.util.Map.Entry<K,V> |
ceilingEntry(K key) |
K |
ceilingKey(K key) |
protected java.util.SortedMap<K,V> |
delegate()
Returns the backing delegate instance that methods are forwarded to.
|
java.util.NavigableSet<K> |
descendingKeySet() |
java.util.NavigableMap<K,V> |
descendingMap() |
java.util.Map.Entry<K,V> |
firstEntry() |
java.util.Map.Entry<K,V> |
floorEntry(K key) |
K |
floorKey(K key) |
java.util.SortedMap<K,V> |
headMap(K toKey) |
java.util.NavigableMap<K,V> |
headMap(K toKey,
boolean inclusive) |
java.util.Map.Entry<K,V> |
higherEntry(K key) |
K |
higherKey(K key) |
java.util.Set<K> |
keySet() |
java.util.Map.Entry<K,V> |
lastEntry() |
java.util.Map.Entry<K,V> |
lowerEntry(K key) |
K |
lowerKey(K key) |
java.util.NavigableSet<K> |
navigableKeySet() |
java.util.Map.Entry<K,V> |
pollFirstEntry() |
java.util.Map.Entry<K,V> |
pollLastEntry() |
java.util.NavigableMap<K,V> |
subMap(K fromKey,
boolean fromInclusive,
K toKey,
boolean toInclusive) |
java.util.SortedMap<K,V> |
subMap(K fromKey,
K toKey) |
java.util.SortedMap<K,V> |
tailMap(K fromKey) |
java.util.NavigableMap<K,V> |
tailMap(K fromKey,
boolean inclusive) |
comparator, firstKey, lastKey, standardContainsKey, standardSubMap
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, put, putAll, remove, size, standardClear, standardContainsValue, standardEquals, standardHashCode, standardIsEmpty, standardPutAll, standardRemove, standardToString, values
toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
private transient Maps.UnmodifiableNavigableMap<K,V> descendingMap
UnmodifiableNavigableMap(java.util.NavigableMap<K,V> delegate, Maps.UnmodifiableNavigableMap<K,V> descendingMap)
protected java.util.SortedMap<K,V> delegate()
ForwardingObject
ForwardingSet.delegate()
. Concrete subclasses override this method to supply
the instance being decorated.delegate
in class ForwardingSortedMap<K,V>
public java.util.Set<K> keySet()
public java.util.NavigableSet<K> navigableKeySet()
public java.util.NavigableSet<K> descendingKeySet()
public java.util.NavigableMap<K,V> subMap(K fromKey, boolean fromInclusive, K toKey, boolean toInclusive)