Rabbit-R1/android (non root)/java/sources/kotlinx/coroutines/CompletedWithCancellation.java
2024-05-21 17:08:36 -04:00

64 lines
4.1 KiB
Java

package kotlinx.coroutines;
import kotlin.Metadata;
import kotlin.Unit;
import kotlin.jvm.functions.Function1;
import kotlin.jvm.internal.Intrinsics;
/* compiled from: CompletionState.kt */
@Metadata(d1 = {"\u00008\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u0003\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u0002\n\u0002\b\u0005\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000e\n\u0000\b\u0080\b\u0018\u00002\u00020\u0001B2\u0012\b\u0010\u0002\u001a\u0004\u0018\u00010\u0001\u0012!\u0010\u0003\u001a\u001d\u0012\u0013\u0012\u00110\u0005¢\u0006\f\b\u0006\u0012\b\b\u0007\u0012\u0004\b\b(\b\u0012\u0004\u0012\u00020\t0\u0004¢\u0006\u0002\u0010\nJ\u000b\u0010\u000b\u001a\u0004\u0018\u00010\u0001HÆ\u0003J$\u0010\f\u001a\u001d\u0012\u0013\u0012\u00110\u0005¢\u0006\f\b\u0006\u0012\b\b\u0007\u0012\u0004\b\b(\b\u0012\u0004\u0012\u00020\t0\u0004HÆ\u0003J:\u0010\r\u001a\u00020\u00002\n\b\u0002\u0010\u0002\u001a\u0004\u0018\u00010\u00012#\b\u0002\u0010\u0003\u001a\u001d\u0012\u0013\u0012\u00110\u0005¢\u0006\f\b\u0006\u0012\b\b\u0007\u0012\u0004\b\b(\b\u0012\u0004\u0012\u00020\t0\u0004HÆ\u0001J\u0013\u0010\u000e\u001a\u00020\u000f2\b\u0010\u0010\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u0011\u001a\u00020\u0012HÖ\u0001J\t\u0010\u0013\u001a\u00020\u0014HÖ\u0001R+\u0010\u0003\u001a\u001d\u0012\u0013\u0012\u00110\u0005¢\u0006\f\b\u0006\u0012\b\b\u0007\u0012\u0004\b\b(\b\u0012\u0004\u0012\u00020\t0\u00048\u0006X\u0087\u0004¢\u0006\u0002\n\u0000R\u0012\u0010\u0002\u001a\u0004\u0018\u00010\u00018\u0006X\u0087\u0004¢\u0006\u0002\n\u0000¨\u0006\u0015"}, d2 = {"Lkotlinx/coroutines/CompletedWithCancellation;", "", "result", "onCancellation", "Lkotlin/Function1;", "", "Lkotlin/ParameterName;", "name", "cause", "", "(Ljava/lang/Object;Lkotlin/jvm/functions/Function1;)V", "component1", "component2", "copy", "equals", "", "other", "hashCode", "", "toString", "", "kotlinx-coroutines-core"}, k = 1, mv = {1, 8, 0}, xi = 48)
/* loaded from: classes3.dex */
public final /* data */ class CompletedWithCancellation {
public final Function1<Throwable, Unit> onCancellation;
public final Object result;
/* JADX WARN: Multi-variable type inference failed */
public static /* synthetic */ CompletedWithCancellation copy$default(CompletedWithCancellation completedWithCancellation, Object obj, Function1 function1, int i, Object obj2) {
if ((i & 1) != 0) {
obj = completedWithCancellation.result;
}
if ((i & 2) != 0) {
function1 = completedWithCancellation.onCancellation;
}
return completedWithCancellation.copy(obj, function1);
}
/* renamed from: component1, reason: from getter */
public final Object getResult() {
return this.result;
}
public final Function1<Throwable, Unit> component2() {
return this.onCancellation;
}
public final CompletedWithCancellation copy(Object result, Function1<? super Throwable, Unit> onCancellation) {
return new CompletedWithCancellation(result, onCancellation);
}
public boolean equals(Object other) {
if (this == other) {
return true;
}
if (!(other instanceof CompletedWithCancellation)) {
return false;
}
CompletedWithCancellation completedWithCancellation = (CompletedWithCancellation) other;
return Intrinsics.areEqual(this.result, completedWithCancellation.result) && Intrinsics.areEqual(this.onCancellation, completedWithCancellation.onCancellation);
}
public int hashCode() {
Object obj = this.result;
return ((obj == null ? 0 : obj.hashCode()) * 31) + this.onCancellation.hashCode();
}
public String toString() {
return "CompletedWithCancellation(result=" + this.result + ", onCancellation=" + this.onCancellation + ')';
}
/* JADX WARN: Multi-variable type inference failed */
public CompletedWithCancellation(Object obj, Function1<? super Throwable, Unit> function1) {
this.result = obj;
this.onCancellation = function1;
}
}