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

67 lines
2.0 KiB
Java

package com.google.android.libraries.places.internal;
import java.util.List;
/* JADX INFO: Access modifiers changed from: package-private */
/* loaded from: classes2.dex */
public final class zzix extends zziy {
final transient int zza;
final transient int zzb;
final zziy zzc;
/* JADX INFO: Access modifiers changed from: package-private */
public zzix(zziy zziyVar, int i, int i2) {
this.zzc = zziyVar;
this.zza = i;
this.zzb = i2;
}
@Override // java.util.List
public final Object get(int i) {
zzig.zza(i, this.zzb, "index");
return this.zzc.get(i + this.zza);
}
@Override // com.google.android.libraries.places.internal.zziy, java.util.List
public final /* synthetic */ List subList(int i, int i2) {
return subList(i, i2);
}
@Override // com.google.android.libraries.places.internal.zziv
final int zzb() {
return this.zzc.zzc() + this.zza + this.zzb;
}
/* JADX INFO: Access modifiers changed from: package-private */
@Override // com.google.android.libraries.places.internal.zziv
public final int zzc() {
return this.zzc.zzc() + this.zza;
}
/* JADX INFO: Access modifiers changed from: package-private */
@Override // com.google.android.libraries.places.internal.zziv
public final boolean zzf() {
return true;
}
@Override // com.google.android.libraries.places.internal.zziy
/* renamed from: zzh */
public final zziy subList(int i, int i2) {
zzig.zzg(i, i2, this.zzb);
zziy zziyVar = this.zzc;
int i3 = this.zza;
return zziyVar.subList(i + i3, i2 + i3);
}
/* JADX INFO: Access modifiers changed from: package-private */
@Override // com.google.android.libraries.places.internal.zziv
public final Object[] zzg() {
return this.zzc.zzg();
}
@Override // java.util.AbstractCollection, java.util.Collection, java.util.List
public final int size() {
return this.zzb;
}
}