- Added realracing3-community.apk (71.57 MB) - Removed 32-bit support (armeabi-v7a) - Only includes arm64-v8a libraries - Decompiled source code included - Added README-community.md with analysis
29 lines
1.2 KiB
Java
29 lines
1.2 KiB
Java
package kotlin.coroutines;
|
|
|
|
import kotlin.coroutines.CoroutineContext;
|
|
import kotlin.jvm.functions.Function1;
|
|
import kotlin.jvm.internal.Intrinsics;
|
|
|
|
/* loaded from: classes5.dex */
|
|
public abstract class AbstractCoroutineContextKey implements CoroutineContext.Key {
|
|
public final Function1 safeCast;
|
|
public final CoroutineContext.Key topmostKey;
|
|
|
|
public final boolean isSubKey$kotlin_stdlib(CoroutineContext.Key key) {
|
|
Intrinsics.checkNotNullParameter(key, "key");
|
|
return key == this || this.topmostKey == key;
|
|
}
|
|
|
|
public AbstractCoroutineContextKey(CoroutineContext.Key baseKey, Function1 safeCast) {
|
|
Intrinsics.checkNotNullParameter(baseKey, "baseKey");
|
|
Intrinsics.checkNotNullParameter(safeCast, "safeCast");
|
|
this.safeCast = safeCast;
|
|
this.topmostKey = baseKey instanceof AbstractCoroutineContextKey ? ((AbstractCoroutineContextKey) baseKey).topmostKey : baseKey;
|
|
}
|
|
|
|
public final CoroutineContext.Element tryCast$kotlin_stdlib(CoroutineContext.Element element) {
|
|
Intrinsics.checkNotNullParameter(element, "element");
|
|
return (CoroutineContext.Element) this.safeCast.invoke(element);
|
|
}
|
|
}
|