Ejemplo n.º 1
0
  Map<Long, String> fill(StoreWAL e) {
    Map<Long, String> ret = new LinkedHashMap<Long, String>();

    for (int i = 0; i < 1000; i++) {
      String s = UtilsTest.randomString((int) (Math.random() * 10000));
      long recid = e.put(s, Serializer.STRING);
      ret.put(recid, s);
    }

    return ret;
  }