mu$c.java 2.03 KB
import com.google.common.base.Preconditions;
import com.google.common.collect.Iterators;
import com.google.common.collect.Maps.n;
import java.util.Collection;
import java.util.Iterator;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;
import javax.annotation.Nullable;

class mu$c
  extends Maps.n<K, Collection<V>>
{
  mu$c(Map<K, Collection<V>> paramMap)
  {
    super(localMap);
  }
  
  public void clear()
  {
    Iterators.b(iterator());
  }
  
  public boolean containsAll(Collection<?> paramCollection)
  {
    return b().keySet().containsAll(paramCollection);
  }
  
  public boolean equals(@Nullable Object paramObject)
  {
    return (this == paramObject) || (b().keySet().equals(paramObject));
  }
  
  public int hashCode()
  {
    return b().keySet().hashCode();
  }
  
  public Iterator<K> iterator()
  {
    new Iterator()
    {
      Map.Entry<K, Collection<V>> a;
      
      public final boolean hasNext()
      {
        return this.b.hasNext();
      }
      
      public final K next()
      {
        this.a = ((Map.Entry)this.b.next());
        return (K)this.a.getKey();
      }
      
      public final void remove()
      {
        if (this.a != null) {}
        for (boolean bool = true;; bool = false)
        {
          Preconditions.checkState(bool, "no calls to next() since the last call to remove()");
          Collection localCollection = (Collection)this.a.getValue();
          this.b.remove();
          mu.b(mu.c.this.a, localCollection.size());
          localCollection.clear();
          return;
        }
      }
    };
  }
  
  public boolean remove(Object paramObject)
  {
    paramObject = (Collection)b().remove(paramObject);
    int i;
    if (paramObject != null)
    {
      i = ((Collection)paramObject).size();
      ((Collection)paramObject).clear();
      mu.b(this.a, i);
    }
    for (;;)
    {
      return i > 0;
      i = 0;
    }
  }
}


/* Location:              /home/merong/decompile/hackery-dex2jar.jar!/mu$c.class
 * Java compiler version: 6 (50.0)
 * JD-Core Version:       0.7.1
 */