what-the-bank/sources/com/google/android/libraries/places/api/model/zzs.java

56 lines
1.8 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.google.android.libraries.places.api.model;
import com.airbnb.deeplinkdispatch.UrlTreeKt;
/* JADX INFO: Access modifiers changed from: package-private */
/* loaded from: classes2.dex */
public abstract class zzs extends PlaceLikelihood {
private final Place zza;
private final double zzb;
/* JADX INFO: Access modifiers changed from: package-private */
public zzs(Place place, double d) {
if (place == null) {
throw new NullPointerException("Null place");
}
this.zza = place;
this.zzb = d;
}
public final boolean equals(Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof PlaceLikelihood)) {
return false;
}
PlaceLikelihood placeLikelihood = (PlaceLikelihood) obj;
return this.zza.equals(placeLikelihood.getPlace()) && Double.doubleToLongBits(this.zzb) == Double.doubleToLongBits(placeLikelihood.getLikelihood());
}
public final int hashCode() {
return ((this.zza.hashCode() ^ 1000003) * 1000003) ^ ((int) ((Double.doubleToLongBits(this.zzb) >>> 32) ^ Double.doubleToLongBits(this.zzb)));
}
public final String toString() {
String obj = this.zza.toString();
double d = this.zzb;
StringBuilder sb = new StringBuilder("PlaceLikelihood{place=");
sb.append(obj);
sb.append(", likelihood=");
sb.append(d);
sb.append(UrlTreeKt.componentParamSuffix);
return sb.toString();
}
@Override // com.google.android.libraries.places.api.model.PlaceLikelihood
public final Place getPlace() {
return this.zza;
}
@Override // com.google.android.libraries.places.api.model.PlaceLikelihood
public final double getLikelihood() {
return this.zzb;
}
}