code: public static <K, V> void forEachKeyValue(
              Map<K, V> map,
              Procedure2<? super K, ? super V> procedure,
              int minForkSize,
              int taskCount)
      {
          if (map.size() > minForkSize)
          {
              Procedure<Pair<K, V>> pairProcedure = new PairProcedure<K, V>(procedure);
              ParallelIterate.forEach(MapIterate.toListOfPairs(map), new PassThruProcedureFactory<Procedure<Pair<K, V>>>(pairProcedure), new PassThruCombiner<Procedure<Pair<K, V>>>(), minForkSize, taskCount);
          }
          else
          {
              MapIterate.forEachKeyValue(map, procedure);
          }
      }
docs: A parallel form of forEachKeyValue.
  
  @see MapIterate#forEachKeyValue(Map, Procedure2)
  @see ParallelIterate