what-the-bank/sources/com/google/android/libraries/places/internal/zzadx.java

48 lines
1.5 KiB
Java

package com.google.android.libraries.places.internal;
/* loaded from: classes2.dex */
final class zzadx extends zzaea {
private final int zzc;
/* JADX INFO: Access modifiers changed from: package-private */
public zzadx(byte[] bArr, int i, int i2) {
super(bArr);
zzj(0, i2, bArr.length);
this.zzc = i2;
}
/* JADX INFO: Access modifiers changed from: package-private */
@Override // com.google.android.libraries.places.internal.zzaea, com.google.android.libraries.places.internal.zzaed
public final byte zzb(int i) {
return this.zza[i];
}
@Override // com.google.android.libraries.places.internal.zzaea
protected final int zzc() {
return 0;
}
@Override // com.google.android.libraries.places.internal.zzaea, com.google.android.libraries.places.internal.zzaed
public final byte zza(int i) {
int i2 = this.zzc;
if (((i2 - (i + 1)) | i) >= 0) {
return this.zza[i];
}
if (i < 0) {
StringBuilder sb = new StringBuilder("Index < 0: ");
sb.append(i);
throw new ArrayIndexOutOfBoundsException(sb.toString());
}
StringBuilder sb2 = new StringBuilder("Index > length: ");
sb2.append(i);
sb2.append(", ");
sb2.append(i2);
throw new ArrayIndexOutOfBoundsException(sb2.toString());
}
@Override // com.google.android.libraries.places.internal.zzaea, com.google.android.libraries.places.internal.zzaed
public final int zzd() {
return this.zzc;
}
}