qf$k.java 4.84 KB
import com.google.common.collect.ImmutableMultiset;
import com.google.common.collect.Multimap;
import com.google.common.collect.Multiset;
import java.util.Collection;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;

public class qf$k<K, V>
  extends qf.o
  implements Multimap<K, V>
{
  private static final long serialVersionUID = 0L;
  transient Set<K> a;
  transient Collection<V> b;
  transient Collection<Map.Entry<K, V>> c;
  transient Map<K, Collection<V>> d;
  transient Multiset<K> e;
  
  public qf$k(Multimap<K, V> paramMultimap)
  {
    super(paramMultimap, null);
  }
  
  Multimap<K, V> a()
  {
    return (Multimap)super.b();
  }
  
  public Map<K, Collection<V>> asMap()
  {
    synchronized (this.h)
    {
      if (this.d == null) {
        this.d = new qf.a(a().asMap(), this.h);
      }
      Map localMap = this.d;
      return localMap;
    }
  }
  
  public void clear()
  {
    synchronized (this.h)
    {
      a().clear();
      return;
    }
  }
  
  public boolean containsEntry(Object paramObject1, Object paramObject2)
  {
    synchronized (this.h)
    {
      boolean bool = a().containsEntry(paramObject1, paramObject2);
      return bool;
    }
  }
  
  public boolean containsKey(Object paramObject)
  {
    synchronized (this.h)
    {
      boolean bool = a().containsKey(paramObject);
      return bool;
    }
  }
  
  public boolean containsValue(Object paramObject)
  {
    synchronized (this.h)
    {
      boolean bool = a().containsValue(paramObject);
      return bool;
    }
  }
  
  public Collection<Map.Entry<K, V>> entries()
  {
    synchronized (this.h)
    {
      if (this.c == null) {
        this.c = qf.b(a().entries(), this.h);
      }
      Collection localCollection = this.c;
      return localCollection;
    }
  }
  
  public boolean equals(Object paramObject)
  {
    if (paramObject == this) {
      return true;
    }
    synchronized (this.h)
    {
      boolean bool = a().equals(paramObject);
      return bool;
    }
  }
  
  public Collection<V> get(K paramK)
  {
    synchronized (this.h)
    {
      paramK = qf.b(a().get(paramK), this.h);
      return paramK;
    }
  }
  
  public int hashCode()
  {
    synchronized (this.h)
    {
      int i = a().hashCode();
      return i;
    }
  }
  
  public boolean isEmpty()
  {
    synchronized (this.h)
    {
      boolean bool = a().isEmpty();
      return bool;
    }
  }
  
  public Set<K> keySet()
  {
    synchronized (this.h)
    {
      if (this.a == null) {
        this.a = qf.b(a().keySet(), this.h);
      }
      Set localSet = this.a;
      return localSet;
    }
  }
  
  public Multiset<K> keys()
  {
    label78:
    for (;;)
    {
      synchronized (this.h)
      {
        Object localObject4;
        if (this.e == null)
        {
          localObject1 = a().keys();
          localObject4 = this.h;
          if ((localObject1 instanceof qf.l)) {
            break label78;
          }
          if ((localObject1 instanceof ImmutableMultiset))
          {
            break label78;
            this.e = ((Multiset)localObject1);
          }
        }
        else
        {
          localObject1 = this.e;
          return (Multiset<K>)localObject1;
        }
        Object localObject1 = new qf.l((Multiset)localObject1, localObject4);
      }
    }
  }
  
  public boolean put(K paramK, V paramV)
  {
    synchronized (this.h)
    {
      boolean bool = a().put(paramK, paramV);
      return bool;
    }
  }
  
  public boolean putAll(Multimap<? extends K, ? extends V> paramMultimap)
  {
    synchronized (this.h)
    {
      boolean bool = a().putAll(paramMultimap);
      return bool;
    }
  }
  
  public boolean putAll(K paramK, Iterable<? extends V> paramIterable)
  {
    synchronized (this.h)
    {
      boolean bool = a().putAll(paramK, paramIterable);
      return bool;
    }
  }
  
  public boolean remove(Object paramObject1, Object paramObject2)
  {
    synchronized (this.h)
    {
      boolean bool = a().remove(paramObject1, paramObject2);
      return bool;
    }
  }
  
  public Collection<V> removeAll(Object paramObject)
  {
    synchronized (this.h)
    {
      paramObject = a().removeAll(paramObject);
      return (Collection<V>)paramObject;
    }
  }
  
  public Collection<V> replaceValues(K paramK, Iterable<? extends V> paramIterable)
  {
    synchronized (this.h)
    {
      paramK = a().replaceValues(paramK, paramIterable);
      return paramK;
    }
  }
  
  public int size()
  {
    synchronized (this.h)
    {
      int i = a().size();
      return i;
    }
  }
  
  public Collection<V> values()
  {
    synchronized (this.h)
    {
      if (this.b == null) {
        this.b = qf.a(a().values(), this.h);
      }
      Collection localCollection = this.b;
      return localCollection;
    }
  }
}


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