# | Line 299 | Line 299 | public class NavigableMapCheck { | |
---|---|---|
299 | reallyAssert (sum == size); | |
300 | } | |
301 | ||
302 | – | static void rittest2(NavigableMap s, int size) { |
303 | – | int sum = 0; |
304 | – | timer.start("Desc Iter Entry ", size); |
305 | – | for (Iterator it = s.descendingEntrySet().iterator(); it.hasNext(); ) { |
306 | – | if(it.next() != MISSING) |
307 | – | ++sum; |
308 | – | } |
309 | – | timer.finish(); |
310 | – | reallyAssert (sum == size); |
311 | – | } |
302 | ||
303 | static void rittest(NavigableMap s, int size) { | |
304 | rittest1(s, size); | |
305 | < | rittest2(s, size); |
305 | > | // rittest2(s, size); |
306 | } | |
307 | ||
308 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |