package com.google.android.m4b.maps.bc;

import com.google.common.annotations.VisibleForTesting;
import com.google.common.collect.Lists;
import java.util.Arrays;
import java.util.Collection;
import java.util.Iterator;
import java.util.List;

public final class h
  implements g
{

  @VisibleForTesting
  private static al c = new al(localaf, localaf);
  private List<g> a;
  private al b;

  static
  {
    af localaf = new af(-2147483648, -2147483648);
  }

  public h()
  {
    this.a = Lists.newArrayList();
    this.b = c;
  }

  public h(int paramInt)
  {
    this.a = Lists.newArrayListWithExpectedSize(paramInt);
    this.b = c;
  }

  private h(Collection<? extends g> paramCollection)
  {
    this(paramCollection.size());
    Iterator localIterator = paramCollection.iterator();
    while (localIterator.hasNext())
      a((g)localIterator.next());
  }

  public h(g[] paramArrayOfg)
  {
    this(Arrays.asList(paramArrayOfg));
  }

  public final al a()
  {
    return this.b;
  }

  public final void a(g paramg)
  {
    al localal = paramg.a();
    if (localal == c)
      return;
    if (this.b == c)
      this.b = new al(af.a(localal.a), af.a(localal.b));
    while (true)
    {
      this.a.add(paramg);
      return;
      this.b.a(localal);
    }
  }

  public final boolean a(af paramaf)
  {
    if (!this.b.a(paramaf));
    while (true)
    {
      return false;
      for (int i = 0; i < this.a.size(); i++)
        if (((g)this.a.get(i)).a(paramaf))
          return true;
    }
  }

  public final boolean a(am paramam)
  {
    al localal = paramam.a();
    if (!this.b.a(localal));
    while (true)
    {
      return false;
      for (int i = 0; i < this.a.size(); i++)
        if (((g)this.a.get(i)).a(paramam))
          return true;
    }
  }
}

/* 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.bc.h
 * JD-Core Version:    0.6.2
 */