Class ForwardingNavigableMap.StandardDescendingMap

All Implemented Interfaces:
Map<K,V>, NavigableMap<K,V>, SequencedMap<K,V>, SortedMap<K,V>
Enclosing class:
ForwardingNavigableMap<K,V>

protected class ForwardingNavigableMap.StandardDescendingMap extends Maps.DescendingMap<K,V>
A sensible implementation of NavigableMap.descendingMap() in terms of the methods of this NavigableMap. In many cases, you may wish to override ForwardingNavigableMap.descendingMap() to forward to this implementation or a subclass thereof.

In particular, this map iterates over entries with repeated calls to NavigableMap.lowerEntry(K). If a more efficient means of iteration is available, you may wish to override the entryIterator() method of this class.

Since:
12.0