code: public void increment(Map<? extends T, Double> amounts) {
      for (Map.Entry<? extends T, Double> entry : amounts.entrySet()) {
        increment(entry.getKey(), entry.getValue());
      }
    }
docs: Increments the occurrence count of each key in {@code amounts} by
  its corresponding value.
  
  @param amounts