what-the-bank/sources/com/google/firebase/platforminfo/AutoValue_LibraryVersion.java

57 lines
1.8 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.google.firebase.platforminfo;
import com.airbnb.deeplinkdispatch.UrlTreeKt;
/* JADX INFO: Access modifiers changed from: package-private */
/* loaded from: classes.dex */
public final class AutoValue_LibraryVersion extends LibraryVersion {
private final String libraryName;
private final String version;
/* JADX INFO: Access modifiers changed from: package-private */
public AutoValue_LibraryVersion(String str, String str2) {
if (str == null) {
throw new NullPointerException("Null libraryName");
}
this.libraryName = str;
if (str2 == null) {
throw new NullPointerException("Null version");
}
this.version = str2;
}
public final String toString() {
StringBuilder sb = new StringBuilder("LibraryVersion{libraryName=");
sb.append(this.libraryName);
sb.append(", version=");
sb.append(this.version);
sb.append(UrlTreeKt.componentParamSuffix);
return sb.toString();
}
public final boolean equals(Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof LibraryVersion)) {
return false;
}
LibraryVersion libraryVersion = (LibraryVersion) obj;
return this.libraryName.equals(libraryVersion.getLibraryName()) && this.version.equals(libraryVersion.getVersion());
}
public final int hashCode() {
return ((this.libraryName.hashCode() ^ 1000003) * 1000003) ^ this.version.hashCode();
}
@Override // com.google.firebase.platforminfo.LibraryVersion
public final String getVersion() {
return this.version;
}
@Override // com.google.firebase.platforminfo.LibraryVersion
public final String getLibraryName() {
return this.libraryName;
}
}