+ "_buckets_2kPage] Index Construction of " + REPEAT);
for(int i = 0; i < REPEAT; i++) {
String d = Double.toString(random.nextLong());
byte[] b = StringUtils.getBytes(d);
Key k = new Key(b);
Value v = new Value(b);
Assert.assertNull(hash.addValue(k, v));
list.add(b);
}
System.err.println(sw1);
hash.flush(true, true);
StopWatch sw2 = new StopWatch("[SortedStaticHash_with_" + buckets
+ "_buckets_2kPage] Index Search of " + (REPEAT / 2));
for(int i = REPEAT - 1; i >= 0; i -= 2) {
byte[] b = list.get(i);
Assert.assertEquals("#" + i, new Value(b), hash.findValue(new Key(b)));
}
System.err.println(sw2);
hash.drop();
}