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

final class mm$aj<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 b(long paramAnonymousLong) {}
    
    public final void c(mm.p<K, V> paramAnonymousp)
    {
      this.a = paramAnonymousp;
    }
    
    public final void d(mm.p<K, V> paramAnonymousp)
    {
      this.b = paramAnonymousp;
    }
    
    public final long h()
    {
      return Long.MAX_VALUE;
    }
    
    public final mm.p<K, V> i()
    {
      return this.a;
    }
    
    public final mm.p<K, V> j()
    {
      return this.b;
    }
  };
  
  private mm.p<K, V> a()
  {
    mm.p localp2 = this.a.i();
    mm.p localp1 = localp2;
    if (localp2 == this.a) {
      localp1 = null;
    }
    return localp1;
  }
  
  public final void clear()
  {
    mm.p localp;
    for (Object localObject = this.a.i(); localObject != this.a; localObject = localp)
    {
      localp = ((mm.p)localObject).i();
      mm.b((mm.p)localObject);
    }
    this.a.c(this.a);
    this.a.d(this.a);
  }
  
  public final boolean contains(Object paramObject)
  {
    return ((mm.p)paramObject).i() != mm.o.a;
  }
  
  public final boolean isEmpty()
  {
    return this.a.i() == 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).j();
    mm.p localp2 = ((mm.p)paramObject).i();
    mm.b(localp1, localp2);
    mm.b((mm.p)paramObject);
    return localp2 != mm.o.a;
  }
  
  public final int size()
  {
    int i = 0;
    for (mm.p localp = this.a.i(); localp != this.a; localp = localp.i()) {
      i += 1;
    }
    return i;
  }
}


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