61 lines
1.7 KiB
Java
61 lines
1.7 KiB
Java
|
package com.google.android.libraries.places.internal;
|
||
|
|
||
|
import java.io.Serializable;
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
/* loaded from: classes2.dex */
|
||
|
public abstract class zzit implements Comparable, Serializable {
|
||
|
final Comparable zza;
|
||
|
|
||
|
public final boolean equals(Object obj) {
|
||
|
if (!(obj instanceof zzit)) {
|
||
|
return false;
|
||
|
}
|
||
|
try {
|
||
|
return compareTo((zzit) obj) == 0;
|
||
|
} catch (ClassCastException unused) {
|
||
|
return false;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public abstract int hashCode();
|
||
|
|
||
|
@Override // java.lang.Comparable
|
||
|
/* renamed from: zza, reason: merged with bridge method [inline-methods] */
|
||
|
public int compareTo(zzit zzitVar) {
|
||
|
zzir zzirVar;
|
||
|
zzip zzipVar;
|
||
|
zzirVar = zzir.zzb;
|
||
|
if (zzitVar == zzirVar) {
|
||
|
return 1;
|
||
|
}
|
||
|
zzipVar = zzip.zzb;
|
||
|
if (zzitVar == zzipVar) {
|
||
|
return -1;
|
||
|
}
|
||
|
int zza = zzjk.zza(this.zza, zzitVar.zza);
|
||
|
if (zza != 0) {
|
||
|
return zza;
|
||
|
}
|
||
|
boolean z = this instanceof zziq;
|
||
|
if (z == (zzitVar instanceof zziq)) {
|
||
|
return 0;
|
||
|
}
|
||
|
return !z ? -1 : 1;
|
||
|
}
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
public abstract void zzc(StringBuilder sb);
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
public abstract void zzd(StringBuilder sb);
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
public abstract boolean zze(Comparable comparable);
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
public zzit(Comparable comparable) {
|
||
|
this.zza = comparable;
|
||
|
}
|
||
|
}
|