mm$c.java 2.02 KB
import com.google.common.collect.AbstractSequentialIterator;
import java.util.AbstractQueue;
import java.util.Iterator;

final class mm$c<K, V>
  extends AbstractQueue<mm.p<K, V>>
{
  final mm.p<K, V> a = new mm.b()
  {
    mm.p<K, V> a = this;
    mm.p<K, V> b = this;
    
    public final void a(long paramAnonymousLong) {}
    
    public final void a(mm.p<K, V> paramAnonymousp)
    {
      this.a = paramAnonymousp;
    }
    
    public final void b(mm.p<K, V> paramAnonymousp)
    {
      this.b = paramAnonymousp;
    }
    
    public final long e()
    {
      return Long.MAX_VALUE;
    }
    
    public final mm.p<K, V> f()
    {
      return this.a;
    }
    
    public final mm.p<K, V> g()
    {
      return this.b;
    }
  };
  
  private mm.p<K, V> a()
  {
    mm.p localp2 = this.a.f();
    mm.p localp1 = localp2;
    if (localp2 == this.a) {
      localp1 = null;
    }
    return localp1;
  }
  
  public final void clear()
  {
    mm.p localp;
    for (Object localObject = this.a.f(); localObject != this.a; localObject = localp)
    {
      localp = ((mm.p)localObject).f();
      mm.a((mm.p)localObject);
    }
    this.a.a(this.a);
    this.a.b(this.a);
  }
  
  public final boolean contains(Object paramObject)
  {
    return ((mm.p)paramObject).f() != mm.o.a;
  }
  
  public final boolean isEmpty()
  {
    return this.a.f() == this.a;
  }
  
  public final Iterator<mm.p<K, V>> iterator()
  {
    new AbstractSequentialIterator(a()) {};
  }
  
  public final boolean remove(Object paramObject)
  {
    paramObject = (mm.p)paramObject;
    mm.p localp1 = ((mm.p)paramObject).g();
    mm.p localp2 = ((mm.p)paramObject).f();
    mm.a(localp1, localp2);
    mm.a((mm.p)paramObject);
    return localp2 != mm.o.a;
  }
  
  public final int size()
  {
    int i = 0;
    for (mm.p localp = this.a.f(); localp != this.a; localp = localp.f()) {
      i += 1;
    }
    return i;
  }
}


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