@Test public void testDescendingIteratorEmpty() { SafeIterableMap<Integer, Boolean> map = mapOf(); Iterator<Entry<Integer, Boolean>> iterator = map.descendingIterator(); assertThat(iterator.hasNext(), is(false)); }
public Iterator<Map.Entry<K, V>> descendingIterator() { DescendingIterator<K, V> iterator = new DescendingIterator<>(mEnd, mStart); mIterators.put(iterator, false); return iterator; }
SafeIterableMap implements Iterable<Map.Entry<K, V>> { public Iterator<Map.Entry<K, V>> descendingIterator() { DescendingIterator<K, V> iterator = new DescendingIterator<>(mEnd, mStart); mIterators.put(iterator, false); return iterator; } }
SafeIterableMap implements Iterable<Map.Entry<K, V>> { public Iterator<Map.Entry<K, V>> descendingIterator() { DescendingIterator<K, V> iterator = new DescendingIterator<>(mEnd, mStart); mIterators.put(iterator, false); return iterator; }  }
SafeIterableMap implements Iterable<Map.Entry<K, V>> { public Iterator<Map.Entry<K, V>> descendingIterator() { DescendingIterator<K, V> iterator = new DescendingIterator<>(mEnd, mStart); mIterators.put(iterator, false); return iterator; }  V putIfAbsent(@NonNull K key, @NonNull V v); V remove(@NonNull K key); int size(); @NonNull @Override Iterator<Map.Entry<K, V>> iterator(); Iterator<Map.Entry<K, V>> descendingIterator(); IteratorWithAdditions iteratorWithAdditions(); Map.Entry<K, V> eldest(); Map.Entry<K, V> newest(); @Override boolean equals(Object obj); @Override String toString(); }
SafeIterableMap implements Iterable<Map.Entry<K, V>> { public Iterator<Map.Entry<K, V>> descendingIterator() { DescendingIterator<K, V> iterator = new DescendingIterator<>(mEnd, mStart); mIterators.put(iterator, false); return iterator; }  V putIfAbsent(@NonNull K key, @NonNull V v); V remove(@NonNull K key); int size(); @NonNull @Override Iterator<Map.Entry<K, V>> iterator(); Iterator<Map.Entry<K, V>> descendingIterator(); IteratorWithAdditions iteratorWithAdditions(); Map.Entry<K, V> eldest(); Map.Entry<K, V> newest(); @Override boolean equals(Object obj); @Override String toString();  }