Files
rr3-apk/decompiled/sources/androidx/work/impl/model/WorkGenerationalId.java
Daniel Elliott f9d20bb3fc Add decompiled APK source code (JADX)
- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 14:52:23 -08:00

66 lines
1.9 KiB
Java

package androidx.work.impl.model;
import kotlin.jvm.internal.Intrinsics;
/* loaded from: classes.dex */
public final class WorkGenerationalId {
private final int generation;
private final String workSpecId;
public static /* synthetic */ WorkGenerationalId copy$default(WorkGenerationalId workGenerationalId, String str, int i, int i2, Object obj) {
if ((i2 & 1) != 0) {
str = workGenerationalId.workSpecId;
}
if ((i2 & 2) != 0) {
i = workGenerationalId.generation;
}
return workGenerationalId.copy(str, i);
}
public final String component1() {
return this.workSpecId;
}
public final int component2() {
return this.generation;
}
public final WorkGenerationalId copy(String workSpecId, int i) {
Intrinsics.checkNotNullParameter(workSpecId, "workSpecId");
return new WorkGenerationalId(workSpecId, i);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof WorkGenerationalId)) {
return false;
}
WorkGenerationalId workGenerationalId = (WorkGenerationalId) obj;
return Intrinsics.areEqual(this.workSpecId, workGenerationalId.workSpecId) && this.generation == workGenerationalId.generation;
}
public final int getGeneration() {
return this.generation;
}
public final String getWorkSpecId() {
return this.workSpecId;
}
public int hashCode() {
return (this.workSpecId.hashCode() * 31) + Integer.hashCode(this.generation);
}
public String toString() {
return "WorkGenerationalId(workSpecId=" + this.workSpecId + ", generation=" + this.generation + ')';
}
public WorkGenerationalId(String workSpecId, int i) {
Intrinsics.checkNotNullParameter(workSpecId, "workSpecId");
this.workSpecId = workSpecId;
this.generation = i;
}
}