- Added realracing3-community.apk (71.57 MB) - Removed 32-bit support (armeabi-v7a) - Only includes arm64-v8a libraries - Decompiled source code included - Added README-community.md with analysis
100 lines
2.8 KiB
Java
100 lines
2.8 KiB
Java
package com.google.android.gms.internal.ads;
|
|
|
|
import android.os.Parcel;
|
|
import android.os.Parcelable;
|
|
import androidx.annotation.CheckResult;
|
|
import androidx.annotation.Nullable;
|
|
import java.util.Arrays;
|
|
import java.util.Comparator;
|
|
import java.util.List;
|
|
import java.util.Objects;
|
|
import java.util.UUID;
|
|
|
|
/* loaded from: classes3.dex */
|
|
public final class zzu implements Comparator<zzt>, Parcelable {
|
|
public static final Parcelable.Creator<zzu> CREATOR = new zzr();
|
|
|
|
@Nullable
|
|
public final String zza;
|
|
public final int zzb;
|
|
private final zzt[] zzc;
|
|
private int zzd;
|
|
|
|
public zzu(Parcel parcel) {
|
|
this.zza = parcel.readString();
|
|
zzt[] zztVarArr = (zzt[]) parcel.createTypedArray(zzt.CREATOR);
|
|
int i = zzei.zza;
|
|
this.zzc = zztVarArr;
|
|
this.zzb = zztVarArr.length;
|
|
}
|
|
|
|
@Override // java.util.Comparator
|
|
public final /* bridge */ /* synthetic */ int compare(zzt zztVar, zzt zztVar2) {
|
|
zzt zztVar3 = zztVar;
|
|
zzt zztVar4 = zztVar2;
|
|
UUID uuid = zzh.zza;
|
|
return uuid.equals(zztVar3.zza) ? !uuid.equals(zztVar4.zza) ? 1 : 0 : zztVar3.zza.compareTo(zztVar4.zza);
|
|
}
|
|
|
|
@Override // android.os.Parcelable
|
|
public final int describeContents() {
|
|
return 0;
|
|
}
|
|
|
|
@Override // java.util.Comparator
|
|
public final boolean equals(@Nullable Object obj) {
|
|
if (this == obj) {
|
|
return true;
|
|
}
|
|
if (obj != null && zzu.class == obj.getClass()) {
|
|
zzu zzuVar = (zzu) obj;
|
|
if (Objects.equals(this.zza, zzuVar.zza) && Arrays.equals(this.zzc, zzuVar.zzc)) {
|
|
return true;
|
|
}
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public final int hashCode() {
|
|
int i = this.zzd;
|
|
if (i != 0) {
|
|
return i;
|
|
}
|
|
String str = this.zza;
|
|
int hashCode = ((str == null ? 0 : str.hashCode()) * 31) + Arrays.hashCode(this.zzc);
|
|
this.zzd = hashCode;
|
|
return hashCode;
|
|
}
|
|
|
|
@Override // android.os.Parcelable
|
|
public final void writeToParcel(Parcel parcel, int i) {
|
|
parcel.writeString(this.zza);
|
|
parcel.writeTypedArray(this.zzc, 0);
|
|
}
|
|
|
|
public final zzt zza(int i) {
|
|
return this.zzc[i];
|
|
}
|
|
|
|
@CheckResult
|
|
public final zzu zzb(@Nullable String str) {
|
|
return Objects.equals(this.zza, str) ? this : new zzu(str, false, this.zzc);
|
|
}
|
|
|
|
private zzu(@Nullable String str, boolean z, zzt... zztVarArr) {
|
|
this.zza = str;
|
|
zztVarArr = z ? (zzt[]) zztVarArr.clone() : zztVarArr;
|
|
this.zzc = zztVarArr;
|
|
this.zzb = zztVarArr.length;
|
|
Arrays.sort(zztVarArr, this);
|
|
}
|
|
|
|
public zzu(@Nullable String str, zzt... zztVarArr) {
|
|
this(null, true, zztVarArr);
|
|
}
|
|
|
|
public zzu(List list) {
|
|
this(null, false, (zzt[]) list.toArray(new zzt[0]));
|
|
}
|
|
}
|