package io.reactivex.internal.operators.flowable; import io.reactivex.flowables.GroupedFlowable; import org.reactivestreams.Subscriber; /* loaded from: classes2.dex */ final class FlowableGroupBy$GroupedUnicast extends GroupedFlowable { final FlowableGroupBy$State b; protected FlowableGroupBy$GroupedUnicast(K k, FlowableGroupBy$State flowableGroupBy$State) { super(k); this.b = flowableGroupBy$State; } public static FlowableGroupBy$GroupedUnicast a(K k, int i, FlowableGroupBy$GroupBySubscriber flowableGroupBy$GroupBySubscriber, boolean z) { return new FlowableGroupBy$GroupedUnicast<>(k, new FlowableGroupBy$State(i, flowableGroupBy$GroupBySubscriber, k, z)); } @Override // io.reactivex.Flowable protected void b(Subscriber subscriber) { this.b.a(subscriber); } public void e() { this.b.onComplete(); } public void a(T t) { this.b.onNext(t); } public void a(Throwable th) { this.b.onError(th); } }