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

46 lines
1.3 KiB
Java

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