mu$a.java 2.69 KB
import com.google.common.collect.Collections2;
import com.google.common.collect.Iterators;
import com.google.common.collect.Maps;
import com.google.common.collect.Maps.f;
import com.google.common.collect.Maps.m;
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$a
  extends Maps.m<K, Collection<V>>
{
  final transient Map<K, Collection<V>> a;
  
  mu$a(Map<K, Collection<V>> paramMap)
  {
    Map localMap;
    this.a = localMap;
  }
  
  final Map.Entry<K, Collection<V>> a(Map.Entry<K, Collection<V>> paramEntry)
  {
    Object localObject = paramEntry.getKey();
    return Maps.immutableEntry(localObject, this.b.a(localObject, (Collection)paramEntry.getValue()));
  }
  
  protected final Set<Map.Entry<K, Collection<V>>> a()
  {
    return new mu.a.a();
  }
  
  public void clear()
  {
    if (this.a == mu.a(this.b))
    {
      this.b.clear();
      return;
    }
    Iterators.b(new mu.a.b());
  }
  
  public boolean containsKey(Object paramObject)
  {
    return Maps.b(this.a, paramObject);
  }
  
  public boolean equals(@Nullable Object paramObject)
  {
    return (this == paramObject) || (this.a.equals(paramObject));
  }
  
  public int hashCode()
  {
    return this.a.hashCode();
  }
  
  public Set<K> keySet()
  {
    return this.b.keySet();
  }
  
  public int size()
  {
    return this.a.size();
  }
  
  public String toString()
  {
    return this.a.toString();
  }
  
  final class a
    extends Maps.f<K, Collection<V>>
  {
    a() {}
    
    final Map<K, Collection<V>> a()
    {
      return mu.a.this;
    }
    
    public final boolean contains(Object paramObject)
    {
      return Collections2.a(mu.a.this.a.entrySet(), paramObject);
    }
    
    public final Iterator<Map.Entry<K, Collection<V>>> iterator()
    {
      return new mu.a.b(mu.a.this);
    }
    
    public final boolean remove(Object paramObject)
    {
      if (!contains(paramObject)) {
        return false;
      }
      paramObject = (Map.Entry)paramObject;
      mu.a(mu.a.this.b, ((Map.Entry)paramObject).getKey());
      return true;
    }
  }
  
  final class b
    implements Iterator<Map.Entry<K, Collection<V>>>
  {
    final Iterator<Map.Entry<K, Collection<V>>> a = mu.a.this.a.entrySet().iterator();
    Collection<V> b;
    
    b() {}
    
    public final boolean hasNext()
    {
      return this.a.hasNext();
    }
    
    public final void remove()
    {
      this.a.remove();
      mu.b(mu.a.this.b, this.b.size());
      this.b.clear();
    }
  }
}


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