nf$a.java 1.56 KB
import com.google.common.collect.Collections2;
import com.google.common.collect.Maps;
import com.google.common.collect.Table.Cell;
import java.util.AbstractSet;
import java.util.Iterator;
import java.util.Map;
import javax.annotation.Nullable;

final class nf$a
  extends AbstractSet<Table.Cell<R, C, V>>
{
  nf$a(nf paramnf) {}
  
  public final void clear()
  {
    this.a.clear();
  }
  
  public final boolean contains(Object paramObject)
  {
    if ((paramObject instanceof Table.Cell))
    {
      paramObject = (Table.Cell)paramObject;
      Map localMap = (Map)Maps.a(this.a.rowMap(), ((Table.Cell)paramObject).getRowKey());
      return (localMap != null) && (Collections2.a(localMap.entrySet(), Maps.immutableEntry(((Table.Cell)paramObject).getColumnKey(), ((Table.Cell)paramObject).getValue())));
    }
    return false;
  }
  
  public final Iterator<Table.Cell<R, C, V>> iterator()
  {
    return this.a.b();
  }
  
  public final boolean remove(@Nullable Object paramObject)
  {
    if ((paramObject instanceof Table.Cell))
    {
      paramObject = (Table.Cell)paramObject;
      Map localMap = (Map)Maps.a(this.a.rowMap(), ((Table.Cell)paramObject).getRowKey());
      return (localMap != null) && (Collections2.b(localMap.entrySet(), Maps.immutableEntry(((Table.Cell)paramObject).getColumnKey(), ((Table.Cell)paramObject).getValue())));
    }
    return false;
  }
  
  public final int size()
  {
    return this.a.size();
  }
}


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