id.java 5.68 KB
import com.google.android.gms.internal.zzbxm;
import com.google.android.gms.internal.zzbxo;
import com.google.android.gms.internal.zzbxt;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Iterator;
import java.util.List;

public final class id
  implements Cloneable
{
  public zzbxo<?, ?> a;
  public Object b;
  public List<ie> c = new ArrayList();
  
  private byte[] b()
    throws IOException
  {
    byte[] arrayOfByte = new byte[a()];
    a(zzbxm.zzag(arrayOfByte));
    return arrayOfByte;
  }
  
  private id c()
  {
    id localid = new id();
    try
    {
      localid.a = this.a;
      if (this.c == null) {
        localid.c = null;
      }
      for (;;)
      {
        if (this.b == null) {
          return localid;
        }
        if (!(this.b instanceof zzbxt)) {
          break;
        }
        localid.b = ((zzbxt)((zzbxt)this.b).clone());
        return localid;
        localid.c.addAll(this.c);
      }
      if (!(this.b instanceof byte[])) {
        break label117;
      }
    }
    catch (CloneNotSupportedException localCloneNotSupportedException)
    {
      throw new AssertionError(localCloneNotSupportedException);
    }
    localCloneNotSupportedException.b = ((byte[])this.b).clone();
    return localCloneNotSupportedException;
    label117:
    Object localObject1;
    Object localObject2;
    int i;
    if ((this.b instanceof byte[][]))
    {
      localObject1 = (byte[][])this.b;
      localObject2 = new byte[localObject1.length][];
      localCloneNotSupportedException.b = localObject2;
      i = 0;
      while (i < localObject1.length)
      {
        localObject2[i] = ((byte[])localObject1[i].clone());
        i += 1;
      }
    }
    if ((this.b instanceof boolean[]))
    {
      localCloneNotSupportedException.b = ((boolean[])this.b).clone();
      return localCloneNotSupportedException;
    }
    if ((this.b instanceof int[]))
    {
      localCloneNotSupportedException.b = ((int[])this.b).clone();
      return localCloneNotSupportedException;
    }
    if ((this.b instanceof long[]))
    {
      localCloneNotSupportedException.b = ((long[])this.b).clone();
      return localCloneNotSupportedException;
    }
    if ((this.b instanceof float[]))
    {
      localCloneNotSupportedException.b = ((float[])this.b).clone();
      return localCloneNotSupportedException;
    }
    if ((this.b instanceof double[]))
    {
      localCloneNotSupportedException.b = ((double[])this.b).clone();
      return localCloneNotSupportedException;
    }
    if ((this.b instanceof zzbxt[]))
    {
      localObject1 = (zzbxt[])this.b;
      localObject2 = new zzbxt[localObject1.length];
      localCloneNotSupportedException.b = localObject2;
      i = 0;
      while (i < localObject1.length)
      {
        localObject2[i] = ((zzbxt)localObject1[i].clone());
        i += 1;
      }
    }
    return localCloneNotSupportedException;
  }
  
  public final int a()
  {
    int j;
    if (this.b != null)
    {
      j = this.a.a(this.b);
      return j;
    }
    Iterator localIterator = this.c.iterator();
    ie localie;
    for (int i = 0;; i = localie.b.length + (j + 0) + i)
    {
      j = i;
      if (!localIterator.hasNext()) {
        break;
      }
      localie = (ie)localIterator.next();
      j = zzbxm.zzrl(localie.a);
    }
  }
  
  public final void a(zzbxm paramzzbxm)
    throws IOException
  {
    if (this.b != null) {
      this.a.a(this.b, paramzzbxm);
    }
    for (;;)
    {
      return;
      Iterator localIterator = this.c.iterator();
      while (localIterator.hasNext())
      {
        ie localie = (ie)localIterator.next();
        paramzzbxm.zzrk(localie.a);
        paramzzbxm.zzaj(localie.b);
      }
    }
  }
  
  public final boolean equals(Object paramObject)
  {
    boolean bool2 = false;
    boolean bool1;
    if (paramObject == this) {
      bool1 = true;
    }
    do
    {
      do
      {
        return bool1;
        bool1 = bool2;
      } while (!(paramObject instanceof id));
      paramObject = (id)paramObject;
      if ((this.b == null) || (((id)paramObject).b == null)) {
        break;
      }
      bool1 = bool2;
    } while (this.a != ((id)paramObject).a);
    if (!this.a.zzckM.isArray()) {
      return this.b.equals(((id)paramObject).b);
    }
    if ((this.b instanceof byte[])) {
      return Arrays.equals((byte[])this.b, (byte[])((id)paramObject).b);
    }
    if ((this.b instanceof int[])) {
      return Arrays.equals((int[])this.b, (int[])((id)paramObject).b);
    }
    if ((this.b instanceof long[])) {
      return Arrays.equals((long[])this.b, (long[])((id)paramObject).b);
    }
    if ((this.b instanceof float[])) {
      return Arrays.equals((float[])this.b, (float[])((id)paramObject).b);
    }
    if ((this.b instanceof double[])) {
      return Arrays.equals((double[])this.b, (double[])((id)paramObject).b);
    }
    if ((this.b instanceof boolean[])) {
      return Arrays.equals((boolean[])this.b, (boolean[])((id)paramObject).b);
    }
    return Arrays.deepEquals((Object[])this.b, (Object[])((id)paramObject).b);
    if ((this.c != null) && (((id)paramObject).c != null)) {
      return this.c.equals(((id)paramObject).c);
    }
    try
    {
      bool1 = Arrays.equals(b(), ((id)paramObject).b());
      return bool1;
    }
    catch (IOException paramObject)
    {
      throw new IllegalStateException((Throwable)paramObject);
    }
  }
  
  public final int hashCode()
  {
    try
    {
      int i = Arrays.hashCode(b());
      return i + 527;
    }
    catch (IOException localIOException)
    {
      throw new IllegalStateException(localIOException);
    }
  }
}


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