pl.java 1.58 KB
import com.google.common.annotations.GwtCompatible;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableMap;
import com.google.common.collect.ImmutableMultiset;
import com.google.common.collect.ImmutableSet;
import com.google.common.collect.Multiset.Entry;
import com.google.common.collect.Multisets;
import java.util.Map.Entry;
import javax.annotation.Nullable;

@GwtCompatible(serializable=true)
public final class pl<E>
  extends ImmutableMultiset<E>
{
  private final transient ImmutableMap<E, Integer> a;
  private final transient int b;
  
  public pl(ImmutableMap<E, Integer> paramImmutableMap, int paramInt)
  {
    this.a = paramImmutableMap;
    this.b = paramInt;
  }
  
  final Multiset.Entry<E> a(int paramInt)
  {
    Map.Entry localEntry = (Map.Entry)this.a.entrySet().asList().get(paramInt);
    return Multisets.immutableEntry(localEntry.getKey(), ((Integer)localEntry.getValue()).intValue());
  }
  
  final boolean a()
  {
    return this.a.b();
  }
  
  public final boolean contains(@Nullable Object paramObject)
  {
    return this.a.containsKey(paramObject);
  }
  
  public final int count(@Nullable Object paramObject)
  {
    paramObject = (Integer)this.a.get(paramObject);
    if (paramObject == null) {
      return 0;
    }
    return ((Integer)paramObject).intValue();
  }
  
  public final int hashCode()
  {
    return this.a.hashCode();
  }
  
  public final int size()
  {
    return this.b;
  }
}


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