pc$f.java 1.89 KB
import com.google.common.collect.AbstractSequentialIterator;
import java.util.AbstractQueue;
import java.util.Iterator;

final class pc$f<K, V>
  extends AbstractQueue<pc.l<K, V>>
{
  final pc.l<K, V> a = new pc.a()
  {
    pc.l<K, V> a = this;
    pc.l<K, V> b = this;
    
    public final void c(pc.l<K, V> paramAnonymousl)
    {
      this.a = paramAnonymousl;
    }
    
    public final void d(pc.l<K, V> paramAnonymousl)
    {
      this.b = paramAnonymousl;
    }
    
    public final pc.l<K, V> h()
    {
      return this.a;
    }
    
    public final pc.l<K, V> i()
    {
      return this.b;
    }
  };
  
  private pc.l<K, V> a()
  {
    pc.l locall2 = this.a.h();
    pc.l locall1 = locall2;
    if (locall2 == this.a) {
      locall1 = null;
    }
    return locall1;
  }
  
  public final void clear()
  {
    pc.l locall;
    for (Object localObject = this.a.h(); localObject != this.a; localObject = locall)
    {
      locall = ((pc.l)localObject).h();
      pc.c((pc.l)localObject);
    }
    this.a.c(this.a);
    this.a.d(this.a);
  }
  
  public final boolean contains(Object paramObject)
  {
    return ((pc.l)paramObject).h() != pc.k.a;
  }
  
  public final boolean isEmpty()
  {
    return this.a.h() == this.a;
  }
  
  public final Iterator<pc.l<K, V>> iterator()
  {
    new AbstractSequentialIterator(a()) {};
  }
  
  public final boolean remove(Object paramObject)
  {
    paramObject = (pc.l)paramObject;
    pc.l locall1 = ((pc.l)paramObject).i();
    pc.l locall2 = ((pc.l)paramObject).h();
    pc.b(locall1, locall2);
    pc.c((pc.l)paramObject);
    return locall2 != pc.k.a;
  }
  
  public final int size()
  {
    int i = 0;
    for (pc.l locall = this.a.h(); locall != this.a; locall = locall.h()) {
      i += 1;
    }
    return i;
  }
}


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