qe$e$a.java 2.17 KB
import com.google.common.base.Function;
import com.google.common.base.Preconditions;
import com.google.common.collect.Lists;
import com.google.common.collect.Maps;
import com.google.common.collect.Sets;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Iterator;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;

final class qe$e$a
  extends qe<R, C, V>.h<Map.Entry<C, Map<R, V>>>
{
  qe$e$a(qe.e parame)
  {
    super(parame.a, (byte)0);
  }
  
  public final boolean contains(Object paramObject)
  {
    if ((paramObject instanceof Map.Entry))
    {
      paramObject = (Map.Entry)paramObject;
      if (this.a.a.containsColumn(((Map.Entry)paramObject).getKey()))
      {
        Object localObject = ((Map.Entry)paramObject).getKey();
        return this.a.a(localObject).equals(((Map.Entry)paramObject).getValue());
      }
    }
    return false;
  }
  
  public final Iterator<Map.Entry<C, Map<R, V>>> iterator()
  {
    Maps.a(this.a.a.columnKeySet(), new Function() {});
  }
  
  public final boolean remove(Object paramObject)
  {
    if (contains(paramObject))
    {
      paramObject = (Map.Entry)paramObject;
      qe.a(this.a.a, ((Map.Entry)paramObject).getKey());
      return true;
    }
    return false;
  }
  
  public final boolean removeAll(Collection<?> paramCollection)
  {
    Preconditions.checkNotNull(paramCollection);
    return Sets.a(this, paramCollection.iterator());
  }
  
  public final boolean retainAll(Collection<?> paramCollection)
  {
    Preconditions.checkNotNull(paramCollection);
    boolean bool = false;
    Iterator localIterator = Lists.newArrayList(this.a.a.columnKeySet().iterator()).iterator();
    while (localIterator.hasNext())
    {
      Object localObject = localIterator.next();
      if (!paramCollection.contains(Maps.immutableEntry(localObject, this.a.a.column(localObject))))
      {
        qe.a(this.a.a, localObject);
        bool = true;
      }
    }
    return bool;
  }
  
  public final int size()
  {
    return this.a.a.columnKeySet().size();
  }
}


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