# | Line 108 | Line 108 | public class IntMapCheck { | |
---|---|---|
108 | timer.start(nm, n * iters); | |
109 | for (int j = 0; j < iters; ++j) { | |
110 | for (int i = 0; i < n; i++) { | |
111 | < | if ((Integer) (s.get(i)) != i) ++sum; |
111 | > | if (s.get(i) != i) ++sum; |
112 | } | |
113 | } | |
114 | timer.finish(); | |
# | Line 272 | Line 272 | public class IntMapCheck { | |
272 | reallyAssert (!s.containsKey(k)); | |
273 | while (it.hasNext()) { | |
274 | Map.Entry<Integer,Integer> x = (Map.Entry<Integer,Integer>)(it.next()); | |
275 | < | Integer k2 = (Integer) x.getKey(); |
275 | > | Integer k2 = x.getKey(); |
276 | seen.put(k2, k2); | |
277 | if (k2 != MISSING) | |
278 | ++sum; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |