package com.google.android.m4b.maps.model;

import android.os.IBinder;
import android.os.RemoteException;
import com.google.android.m4b.maps.g.l;
import com.google.android.m4b.maps.model.internal.IIndoorBuildingDelegate;
import com.google.android.m4b.maps.model.internal.IIndoorLevelDelegate.Stub;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;

public final class IndoorBuilding
{
  private final IIndoorBuildingDelegate a;

  public IndoorBuilding(IIndoorBuildingDelegate paramIIndoorBuildingDelegate)
  {
    this.a = ((IIndoorBuildingDelegate)l.a(paramIIndoorBuildingDelegate));
  }

  public final boolean equals(Object paramObject)
  {
    if (!(paramObject instanceof IndoorBuilding))
      return false;
    try
    {
      boolean bool = this.a.equalsRemote(((IndoorBuilding)paramObject).a);
      return bool;
    }
    catch (RemoteException localRemoteException)
    {
      throw new RuntimeRemoteException(localRemoteException);
    }
  }

  public final int getActiveLevelIndex()
  {
    try
    {
      int i = this.a.getActiveLevelIndex();
      return i;
    }
    catch (RemoteException localRemoteException)
    {
      throw new RuntimeRemoteException(localRemoteException);
    }
  }

  public final int getDefaultLevelIndex()
  {
    try
    {
      int i = this.a.getActiveLevelIndex();
      return i;
    }
    catch (RemoteException localRemoteException)
    {
      throw new RuntimeRemoteException(localRemoteException);
    }
  }

  public final List<IndoorLevel> getLevels()
  {
    ArrayList localArrayList;
    try
    {
      List localList = this.a.getLevels();
      localArrayList = new ArrayList(localList.size());
      Iterator localIterator = localList.iterator();
      while (localIterator.hasNext())
        localArrayList.add(new IndoorLevel(IIndoorLevelDelegate.Stub.asInterface((IBinder)localIterator.next())));
    }
    catch (RemoteException localRemoteException)
    {
      throw new RuntimeRemoteException(localRemoteException);
    }
    return localArrayList;
  }

  public final int hashCode()
  {
    try
    {
      int i = this.a.hashCodeRemote();
      return i;
    }
    catch (RemoteException localRemoteException)
    {
      throw new RuntimeRemoteException(localRemoteException);
    }
  }

  public final boolean isUnderground()
  {
    try
    {
      boolean bool = this.a.isUnderground();
      return bool;
    }
    catch (RemoteException localRemoteException)
    {
      throw new RuntimeRemoteException(localRemoteException);
    }
  }
}

/* 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.model.IndoorBuilding
 * JD-Core Version:    0.6.2
 */