Files
rr3-apk/decompiled/sources/kotlinx/coroutines/flow/DistinctFlowImpl.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

34 lines
1.4 KiB
Java

package kotlinx.coroutines.flow;
import kotlin.Unit;
import kotlin.coroutines.Continuation;
import kotlin.coroutines.intrinsics.IntrinsicsKt__IntrinsicsKt;
import kotlin.jvm.functions.Function1;
import kotlin.jvm.functions.Function2;
import kotlin.jvm.internal.Ref;
import kotlinx.coroutines.flow.internal.NullSurrogateKt;
/* loaded from: classes5.dex */
public final class DistinctFlowImpl implements Flow {
public final Function2 areEquivalent;
public final Function1 keySelector;
public final Flow upstream;
public DistinctFlowImpl(Flow flow, Function1 function1, Function2 function2) {
this.upstream = flow;
this.keySelector = function1;
this.areEquivalent = function2;
}
/* JADX WARN: Type inference failed for: r1v0, types: [T, kotlinx.coroutines.internal.Symbol] */
@Override // kotlinx.coroutines.flow.Flow
public Object collect(FlowCollector flowCollector, Continuation continuation) {
Object coroutine_suspended;
Ref.ObjectRef objectRef = new Ref.ObjectRef();
objectRef.element = NullSurrogateKt.NULL;
Object collect = this.upstream.collect(new DistinctFlowImpl$collect$2(this, objectRef, flowCollector), continuation);
coroutine_suspended = IntrinsicsKt__IntrinsicsKt.getCOROUTINE_SUSPENDED();
return collect == coroutine_suspended ? collect : Unit.INSTANCE;
}
}