qe$b.java 4.98 KB
import com.google.common.base.Preconditions;
import com.google.common.base.Predicate;
import com.google.common.base.Predicates;
import com.google.common.collect.AbstractIterator;
import com.google.common.collect.Maps;
import com.google.common.collect.Maps.ac;
import com.google.common.collect.Maps.m;
import com.google.common.collect.Maps.n;
import com.google.common.collect.Sets.f;
import java.util.Collection;
import java.util.Iterator;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;

final class qe$b
  extends Maps.m<R, V>
{
  final C a;
  
  qe$b(C paramC)
  {
    Object localObject;
    this.a = Preconditions.checkNotNull(localObject);
  }
  
  final Set<Map.Entry<R, V>> a()
  {
    return new qe.b.a((byte)0);
  }
  
  final boolean a(Predicate<? super Map.Entry<R, V>> paramPredicate)
  {
    Iterator localIterator = this.b.a.entrySet().iterator();
    boolean bool1;
    for (boolean bool2 = false; localIterator.hasNext(); bool2 = bool1)
    {
      Map.Entry localEntry = (Map.Entry)localIterator.next();
      Map localMap = (Map)localEntry.getValue();
      Object localObject = localMap.get(this.a);
      bool1 = bool2;
      if (localObject != null)
      {
        bool1 = bool2;
        if (paramPredicate.apply(Maps.immutableEntry(localEntry.getKey(), localObject)))
        {
          localMap.remove(this.a);
          bool2 = true;
          bool1 = bool2;
          if (localMap.isEmpty())
          {
            localIterator.remove();
            bool1 = bool2;
          }
        }
      }
    }
    return bool2;
  }
  
  final Collection<V> b_()
  {
    return new qe.b.d();
  }
  
  public final boolean containsKey(Object paramObject)
  {
    return this.b.contains(paramObject, this.a);
  }
  
  final Set<R> e()
  {
    return new qe.b.c();
  }
  
  public final V get(Object paramObject)
  {
    return (V)this.b.get(paramObject, this.a);
  }
  
  public final V put(R paramR, V paramV)
  {
    return (V)this.b.put(paramR, this.a, paramV);
  }
  
  public final V remove(Object paramObject)
  {
    return (V)this.b.remove(paramObject, this.a);
  }
  
  final class a
    extends Sets.f<Map.Entry<R, V>>
  {
    private a() {}
    
    public final void clear()
    {
      qe.b.this.a(Predicates.alwaysTrue());
    }
    
    public final boolean contains(Object paramObject)
    {
      if ((paramObject instanceof Map.Entry))
      {
        paramObject = (Map.Entry)paramObject;
        return qe.a(qe.b.this.b, ((Map.Entry)paramObject).getKey(), qe.b.this.a, ((Map.Entry)paramObject).getValue());
      }
      return false;
    }
    
    public final boolean isEmpty()
    {
      return !qe.b.this.b.containsColumn(qe.b.this.a);
    }
    
    public final Iterator<Map.Entry<R, V>> iterator()
    {
      return new qe.b.b(qe.b.this, (byte)0);
    }
    
    public final boolean remove(Object paramObject)
    {
      if ((paramObject instanceof Map.Entry))
      {
        paramObject = (Map.Entry)paramObject;
        return qe.b(qe.b.this.b, ((Map.Entry)paramObject).getKey(), qe.b.this.a, ((Map.Entry)paramObject).getValue());
      }
      return false;
    }
    
    public final boolean retainAll(Collection<?> paramCollection)
    {
      return qe.b.this.a(Predicates.not(Predicates.in(paramCollection)));
    }
    
    public final int size()
    {
      Iterator localIterator = qe.b.this.b.a.values().iterator();
      int i = 0;
      if (localIterator.hasNext())
      {
        if (!((Map)localIterator.next()).containsKey(qe.b.this.a)) {
          break label65;
        }
        i += 1;
      }
      label65:
      for (;;)
      {
        break;
        return i;
      }
    }
  }
  
  final class b
    extends AbstractIterator<Map.Entry<R, V>>
  {
    final Iterator<Map.Entry<R, Map<C, V>>> a = qe.b.this.b.a.entrySet().iterator();
    
    private b() {}
  }
  
  final class c
    extends Maps.n<R, V>
  {
    c()
    {
      super();
    }
    
    public final boolean contains(Object paramObject)
    {
      return qe.b.this.b.contains(paramObject, qe.b.this.a);
    }
    
    public final boolean remove(Object paramObject)
    {
      return qe.b.this.b.remove(paramObject, qe.b.this.a) != null;
    }
    
    public final boolean retainAll(Collection<?> paramCollection)
    {
      return qe.b.this.a(Maps.a(Predicates.not(Predicates.in(paramCollection))));
    }
  }
  
  final class d
    extends Maps.ac<R, V>
  {
    d()
    {
      super();
    }
    
    public final boolean remove(Object paramObject)
    {
      return (paramObject != null) && (qe.b.this.a(Maps.b(Predicates.equalTo(paramObject))));
    }
    
    public final boolean removeAll(Collection<?> paramCollection)
    {
      return qe.b.this.a(Maps.b(Predicates.in(paramCollection)));
    }
    
    public final boolean retainAll(Collection<?> paramCollection)
    {
      return qe.b.this.a(Maps.b(Predicates.not(Predicates.in(paramCollection))));
    }
  }
}


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