oe$b.java 2.28 KB
import com.google.common.base.Predicate;
import com.google.common.base.Predicates;
import com.google.common.collect.Multimap;
import com.google.common.collect.Multimaps.g;
import com.google.common.collect.Multiset;
import com.google.common.collect.Multiset.Entry;
import com.google.common.collect.Multisets.c;
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;

final class oe$b
  extends Multimaps.g<K, V>
{
  oe$b(oe paramoe)
  {
    super(paramoe);
  }
  
  public final Set<Multiset.Entry<K>> entrySet()
  {
    new Multisets.c()
    {
      private boolean a(final Predicate<? super Multiset.Entry<K>> paramAnonymousPredicate)
      {
        oe.b.this.a.a(new Predicate() {});
      }
      
      final Multiset<K> a()
      {
        return oe.b.this;
      }
      
      public final Iterator<Multiset.Entry<K>> iterator()
      {
        return oe.b.this.a();
      }
      
      public final boolean removeAll(Collection<?> paramAnonymousCollection)
      {
        return a(Predicates.in(paramAnonymousCollection));
      }
      
      public final boolean retainAll(Collection<?> paramAnonymousCollection)
      {
        return a(Predicates.not(Predicates.in(paramAnonymousCollection)));
      }
      
      public final int size()
      {
        return oe.b.this.a.keySet().size();
      }
    };
  }
  
  public final int remove(@Nullable Object paramObject, int paramInt)
  {
    int i = 0;
    nj.a(paramInt, "occurrences");
    if (paramInt == 0) {
      i = count(paramObject);
    }
    do
    {
      return i;
      localObject1 = (Collection)this.a.a.asMap().get(paramObject);
    } while (localObject1 == null);
    Object localObject1 = ((Collection)localObject1).iterator();
    i = 0;
    while (((Iterator)localObject1).hasNext())
    {
      Object localObject2 = ((Iterator)localObject1).next();
      if (oe.a(this.a, paramObject, localObject2))
      {
        int j = i + 1;
        i = j;
        if (j <= paramInt)
        {
          ((Iterator)localObject1).remove();
          i = j;
        }
      }
    }
    return i;
  }
}


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