discord-jadx/app/src/main/java/s/a/w.java

50 lines
1.4 KiB
Java

package s.a;
import c.d.b.a.a;
import d0.z.d.m;
import kotlin.Unit;
import kotlin.jvm.functions.Function1;
/* compiled from: CompletionState.kt */
public final class w {
public final Object a;
public final Function1<Throwable, Unit> b;
/* JADX DEBUG: Multi-variable search result rejected for r2v0, resolved type: kotlin.jvm.functions.Function1<? super java.lang.Throwable, kotlin.Unit> */
/* JADX WARN: Multi-variable type inference failed */
public w(Object obj, Function1<? super Throwable, Unit> function1) {
this.a = obj;
this.b = function1;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof w)) {
return false;
}
w wVar = (w) obj;
return m.areEqual(this.a, wVar.a) && m.areEqual(this.b, wVar.b);
}
public int hashCode() {
Object obj = this.a;
int i = 0;
int hashCode = (obj != null ? obj.hashCode() : 0) * 31;
Function1<Throwable, Unit> function1 = this.b;
if (function1 != null) {
i = function1.hashCode();
}
return hashCode + i;
}
public String toString() {
StringBuilder L = a.L("CompletedWithCancellation(result=");
L.append(this.a);
L.append(", onCancellation=");
L.append(this.b);
L.append(")");
return L.toString();
}
}