System.err.println
("expected " + (ThreadCount * Range) + " got " + map.size());
}
expect(map.size() == ThreadCount * Range);
for (int i = CommonBase, j = CommonBase + Range; i < j; ++i) {
expect(! map.containsKey(i));
}
step[0] = 2;
map.notifyAll();