public void addAll(@NotNull Bag bag) {
    for (Object2IntMap.Entry<String> entry : bag.myBag.object2IntEntrySet()) {
      final String key = entry.getKey();
      myBag.put(key, myBag.getInt(key) + entry.getIntValue());
      myCardinality += entry.getIntValue();
    }
  }
public void addAll(@NotNull Bag bag)