(ConcurrentMap<Integer, Object> map)
| 106 | } |
| 107 | |
| 108 | private static void populateCommon(ConcurrentMap<Integer, Object> map) { |
| 109 | Object value = new Object(); |
| 110 | for (int i = CommonBase, j = CommonBase + Range; i < j; ++i) { |
| 111 | map.remove(i); |
| 112 | map.put(i, value); |
| 113 | map.remove(i); |
| 114 | } |
| 115 | } |
| 116 | |
| 117 | private static void populate(ConcurrentMap<Integer, Object> map, int base) { |
| 118 | for (int i = base, j = base + Range; i < j; ++i) { |