< prev index next >

src/java.base/share/classes/java/util/NavigableMap.java

Print this page

        

*** 252,262 **** * modified while an iteration over a collection view of either map * is in progress (except through the iterator's own {@code remove} * operation), the results of the iteration are undefined. * * <p>The returned map has an ordering equivalent to ! * <tt>{@link Collections#reverseOrder(Comparator) Collections.reverseOrder}(comparator())</tt>. * The expression {@code m.descendingMap().descendingMap()} returns a * view of {@code m} essentially equivalent to {@code m}. * * @return a reverse order view of this map */ --- 252,262 ---- * modified while an iteration over a collection view of either map * is in progress (except through the iterator's own {@code remove} * operation), the results of the iteration are undefined. * * <p>The returned map has an ordering equivalent to ! * {@link Collections#reverseOrder(Comparator) Collections.reverseOrder(comparator())}. * The expression {@code m.descendingMap().descendingMap()} returns a * view of {@code m} essentially equivalent to {@code m}. * * @return a reverse order view of this map */
< prev index next >