/** * Performs test iteration. */ private void doIteration() { Integer key = rnd.nextInt(KEY_RANGE); if (rnd.nextDouble() <= writeProportion) map.put(key, rnd.nextInt()); else readOp.apply(key, map); }
/** * Performs test iteration. */ private void doIteration() { Integer key = rnd.nextInt(KEY_RANGE); if (rnd.nextDouble() <= writeProportion) map.put(key, rnd.nextInt()); else readOp.apply(key, map); }