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

23 lines
901 B
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.google.android.libraries.places.internal;
import com.google.common.primitives.UnsignedBytes;
import java.util.Comparator;
/* loaded from: classes2.dex */
final class zzadv implements Comparator {
@Override // java.util.Comparator
public final /* synthetic */ int compare(Object obj, Object obj2) {
zzaed zzaedVar = (zzaed) obj;
zzaed zzaedVar2 = (zzaed) obj2;
zzadu zzaduVar = new zzadu(zzaedVar);
zzadu zzaduVar2 = new zzadu(zzaedVar2);
while (zzaduVar.hasNext() && zzaduVar2.hasNext()) {
int compareTo = Integer.valueOf(zzaduVar.zza() & UnsignedBytes.MAX_VALUE).compareTo(Integer.valueOf(zzaduVar2.zza() & UnsignedBytes.MAX_VALUE));
if (compareTo != 0) {
return compareTo;
}
}
return Integer.valueOf(zzaedVar.zzd()).compareTo(Integer.valueOf(zzaedVar2.zzd()));
}
}