package com.google.android.m4b.maps.af;

public abstract class a
{
  private static final a[] b = new a[0];
  protected c a;
  private Runnable c;
  private int d;
  private int e;
  private Object f = new Object();

  public a(c paramc, Runnable paramRunnable, String paramString)
  {
    this.a = paramc;
    this.c = paramRunnable;
  }

  private a[] h()
  {
    try
    {
      a[] arrayOfa = b;
      return arrayOfa;
    }
    finally
    {
      localObject = finally;
      throw localObject;
    }
  }

  public final int a()
  {
    return this.a.b(this);
  }

  protected final void a(int paramInt)
  {
    this.d = paramInt;
  }

  abstract int b();

  protected final int c()
  {
    return this.d;
  }

  public void d()
  {
    synchronized (this.f)
    {
      this.e = 0;
      this.a.a(this);
      return;
    }
  }

  abstract void e();

  protected void f()
  {
    if (this.c != null)
      this.c.run();
  }

  void g()
  {
    try
    {
      f();
    }
    catch (Throwable localThrowable)
    {
      synchronized (this.f)
      {
        this.e = (1 + this.e);
        this.f.notifyAll();
        a[] arrayOfa = h();
        int i = 0;
        while (i < arrayOfa.length)
        {
          arrayOfa[i].d();
          i++;
          continue;
          localThrowable = localThrowable;
          localThrowable.printStackTrace();
        }
      }
    }
  }
}

/* Location:           C:\Documents and Settings\Cesar Cabello Cea\Mis documentos\Downloads\apk-downloader\com.ikea.kompis-6_dex2jar.jar
 * Qualified Name:     com.google.android.m4b.maps.af.a
 * JD-Core Version:    0.6.2
 */