{
this.items.forEachKeyValue(objectIntProcedure);
}
public MutableMap<T, Integer> toMapOfItemToCount()
{
<BUG>final MutableMap<T, Integer> map = UnifiedMap.newMap(this.items.size());
this.forEachWithOccurrences(new ObjectIntProcedure<T>()
{
public void value(T item, int count)
{
map.put(item, count);
}
});</BUG>
return map;

{
protected MutableObjectIntMap<T> items;
protected int size;
@Override
public boolean addAll(Collection<? extends T> source)
{
if (source instanceof Bag)
{
return this.addAllBag((Bag<T>) source);
