@GwtIncompatible(value="NavigableMap") abstract static class Maps.DescendingMap<K,V> extends ForwardingMap<K,V> implements java.util.NavigableMap<K,V>
ForwardingMap.StandardEntrySet, ForwardingMap.StandardKeySet, ForwardingMap.StandardValues
Modifier and Type | Field and Description |
---|---|
private java.util.Comparator<? super K> |
comparator |
private java.util.Set<java.util.Map.Entry<K,V>> |
entrySet |
private java.util.NavigableSet<K> |
navigableKeySet |
Constructor and Description |
---|
DescendingMap() |
Modifier and Type | Method and Description |
---|---|
java.util.Map.Entry<K,V> |
ceilingEntry(K key) |
K |
ceilingKey(K key) |
java.util.Comparator<? super K> |
comparator() |
(package private) java.util.Set<java.util.Map.Entry<K,V>> |
createEntrySet() |
protected java.util.Map<K,V> |
delegate()
Returns the backing delegate instance that methods are forwarded to.
|
java.util.NavigableSet<K> |
descendingKeySet() |
java.util.NavigableMap<K,V> |
descendingMap() |
(package private) abstract java.util.Iterator<java.util.Map.Entry<K,V>> |
entryIterator() |
java.util.Set<java.util.Map.Entry<K,V>> |
entrySet() |
java.util.Map.Entry<K,V> |
firstEntry() |
K |
firstKey() |
java.util.Map.Entry<K,V> |
floorEntry(K key) |
K |
floorKey(K key) |
(package private) abstract java.util.NavigableMap<K,V> |
forward() |
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() |
K |
lastKey() |
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() |
private static <T> Ordering<T> |
reverse(java.util.Comparator<T> forward) |
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) |
java.lang.String |
toString()
Returns the string representation generated by the delegate's
toString method. |
java.util.Collection<V> |
values() |
clear, containsKey, containsValue, equals, get, hashCode, isEmpty, put, putAll, remove, size, standardClear, standardContainsKey, standardContainsValue, standardEquals, standardHashCode, standardIsEmpty, standardPutAll, standardRemove, standardToString
private transient java.util.Comparator<? super K> comparator
private transient java.util.NavigableSet<K> navigableKeySet
protected final java.util.Map<K,V> delegate()
ForwardingObject
ForwardingSet.delegate()
. Concrete subclasses override this method to supply
the instance being decorated.delegate
in class ForwardingMap<K,V>
public java.util.Comparator<? super K> comparator()
private static <T> Ordering<T> reverse(java.util.Comparator<T> forward)
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)
public java.util.Collection<V> values()
public java.lang.String toString()
ForwardingObject
toString
method.toString
in class ForwardingObject