qe$d.java 2.35 KB
import com.google.common.base.Preconditions;
import com.google.common.collect.Iterators;
import java.util.Collection;
import java.util.Iterator;
import java.util.Map;
import java.util.Set;

final class qe$d
  extends qe<R, C, V>.h<C>
{
  private qe$d(qe paramqe)
  {
    super(paramqe, (byte)0);
  }
  
  public final boolean contains(Object paramObject)
  {
    return this.a.containsColumn(paramObject);
  }
  
  public final Iterator<C> iterator()
  {
    return this.a.f();
  }
  
  public final boolean remove(Object paramObject)
  {
    if (paramObject == null) {
      return false;
    }
    Iterator localIterator = this.a.a.values().iterator();
    boolean bool1 = false;
    while (localIterator.hasNext())
    {
      Map localMap = (Map)localIterator.next();
      if (localMap.keySet().remove(paramObject))
      {
        boolean bool2 = true;
        bool1 = bool2;
        if (localMap.isEmpty())
        {
          localIterator.remove();
          bool1 = bool2;
        }
      }
    }
    return bool1;
  }
  
  public final boolean removeAll(Collection<?> paramCollection)
  {
    Preconditions.checkNotNull(paramCollection);
    Iterator localIterator = this.a.a.values().iterator();
    boolean bool1 = false;
    while (localIterator.hasNext())
    {
      Map localMap = (Map)localIterator.next();
      if (Iterators.removeAll(localMap.keySet().iterator(), paramCollection))
      {
        boolean bool2 = true;
        bool1 = bool2;
        if (localMap.isEmpty())
        {
          localIterator.remove();
          bool1 = bool2;
        }
      }
    }
    return bool1;
  }
  
  public final boolean retainAll(Collection<?> paramCollection)
  {
    Preconditions.checkNotNull(paramCollection);
    Iterator localIterator = this.a.a.values().iterator();
    boolean bool1 = false;
    while (localIterator.hasNext())
    {
      Map localMap = (Map)localIterator.next();
      if (localMap.keySet().retainAll(paramCollection))
      {
        boolean bool2 = true;
        bool1 = bool2;
        if (localMap.isEmpty())
        {
          localIterator.remove();
          bool1 = bool2;
        }
      }
    }
    return bool1;
  }
  
  public final int size()
  {
    return Iterators.size(iterator());
  }
}


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