package o;

import java.util.concurrent.ScheduledFuture;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.ig, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C1499ig implements InterfaceC1594jg {
    public final /* synthetic */ int a;
    public final Object b;

    public /* synthetic */ C1499ig(int i, Object obj) {
        this.a = i;
        this.b = obj;
    }

    @Override // o.InterfaceC1594jg
    public final void a(Throwable th) {
        switch (this.a) {
            case 0:
                ((ScheduledFuture) this.b).cancel(false);
                break;
            case 1:
                ((OC) this.b).g(th);
                break;
            default:
                ((InterfaceC2567ts) this.b).a();
                break;
        }
    }

    public final String toString() {
        switch (this.a) {
            case 0:
                return "CancelFutureOnCancel[" + ((ScheduledFuture) this.b) + ']';
            case 1:
                return "CancelHandler.UserSupplied[" + ((OC) this.b).getClass().getSimpleName() + '@' + AbstractC0249Jp.K(this) + ']';
            default:
                return "DisposeOnCancel[" + ((InterfaceC2567ts) this.b) + ']';
        }
    }
}
