zzc.java 2.94 KB
package com.google.android.gms.common.data;

import android.database.CharArrayBuffer;
import android.net.Uri;
import com.google.android.gms.common.internal.zzaa;
import com.google.android.gms.common.internal.zzac;

public abstract class zzc
{
  private int a;
  protected final DataHolder zzaBi;
  protected int zzaDL;
  
  public zzc(DataHolder paramDataHolder, int paramInt)
  {
    this.zzaBi = ((DataHolder)zzac.zzw(paramDataHolder));
    zzcG(paramInt);
  }
  
  public boolean equals(Object paramObject)
  {
    boolean bool2 = false;
    boolean bool1 = bool2;
    if ((paramObject instanceof zzc))
    {
      paramObject = (zzc)paramObject;
      bool1 = bool2;
      if (zzaa.equal(Integer.valueOf(((zzc)paramObject).zzaDL), Integer.valueOf(this.zzaDL)))
      {
        bool1 = bool2;
        if (zzaa.equal(Integer.valueOf(((zzc)paramObject).a), Integer.valueOf(this.a)))
        {
          bool1 = bool2;
          if (((zzc)paramObject).zzaBi == this.zzaBi) {
            bool1 = true;
          }
        }
      }
    }
    return bool1;
  }
  
  protected boolean getBoolean(String paramString)
  {
    return this.zzaBi.zze(paramString, this.zzaDL, this.a);
  }
  
  protected byte[] getByteArray(String paramString)
  {
    return this.zzaBi.zzg(paramString, this.zzaDL, this.a);
  }
  
  protected float getFloat(String paramString)
  {
    return this.zzaBi.zzf(paramString, this.zzaDL, this.a);
  }
  
  protected int getInteger(String paramString)
  {
    return this.zzaBi.zzc(paramString, this.zzaDL, this.a);
  }
  
  protected long getLong(String paramString)
  {
    return this.zzaBi.zzb(paramString, this.zzaDL, this.a);
  }
  
  protected String getString(String paramString)
  {
    return this.zzaBi.zzd(paramString, this.zzaDL, this.a);
  }
  
  public int hashCode()
  {
    return zzaa.hashCode(new Object[] { Integer.valueOf(this.zzaDL), Integer.valueOf(this.a), this.zzaBi });
  }
  
  public boolean isDataValid()
  {
    return !this.zzaBi.isClosed();
  }
  
  protected void zza(String paramString, CharArrayBuffer paramCharArrayBuffer)
  {
    this.zzaBi.zza(paramString, this.zzaDL, this.a, paramCharArrayBuffer);
  }
  
  protected void zzcG(int paramInt)
  {
    if ((paramInt >= 0) && (paramInt < this.zzaBi.getCount())) {}
    for (boolean bool = true;; bool = false)
    {
      zzac.zzaw(bool);
      this.zzaDL = paramInt;
      this.a = this.zzaBi.zzcI(this.zzaDL);
      return;
    }
  }
  
  public boolean zzdf(String paramString)
  {
    return this.zzaBi.zzdf(paramString);
  }
  
  protected Uri zzdg(String paramString)
  {
    return this.zzaBi.zzh(paramString, this.zzaDL, this.a);
  }
  
  protected boolean zzdh(String paramString)
  {
    return this.zzaBi.zzi(paramString, this.zzaDL, this.a);
  }
  
  protected int zzxi()
  {
    return this.zzaDL;
  }
}


/* Location:              /home/merong/decompile/hackery-dex2jar.jar!/com/google/android/gms/common/data/zzc.class
 * Java compiler version: 6 (50.0)
 * JD-Core Version:       0.7.1
 */