Exemplo n.º 1
0
 protected MutableMap<Integer, Integer> mapWithCollisionsOfSize(int size) {
   final MutableMap<Integer, Integer> map = this.newMap();
   COLLISIONS.forEach(
       0,
       size,
       new Procedure<Integer>() {
         public void value(Integer each) {
           map.put(each, each);
         }
       });
   return map;
 }