what-the-bank/sources/com/google/android/libraries/places/api/net/zzh.java

45 lines
1.2 KiB
Java

package com.google.android.libraries.places.api.net;
import com.airbnb.deeplinkdispatch.UrlTreeKt;
import com.google.android.libraries.places.api.model.Place;
/* loaded from: classes2.dex */
final class zzh extends FetchPlaceResponse {
private final Place zza;
/* JADX INFO: Access modifiers changed from: package-private */
public zzh(Place place) {
if (place == null) {
throw new NullPointerException("Null place");
}
this.zza = place;
}
public final boolean equals(Object obj) {
if (obj == this) {
return true;
}
if (obj instanceof FetchPlaceResponse) {
return this.zza.equals(((FetchPlaceResponse) obj).getPlace());
}
return false;
}
public final int hashCode() {
return this.zza.hashCode() ^ 1000003;
}
public final String toString() {
String obj = this.zza.toString();
StringBuilder sb = new StringBuilder("FetchPlaceResponse{place=");
sb.append(obj);
sb.append(UrlTreeKt.componentParamSuffix);
return sb.toString();
}
@Override // com.google.android.libraries.places.api.net.FetchPlaceResponse
public final Place getPlace() {
return this.zza;
}
}