package com.seewo.sdk.internal.command.sharp;

import com.seewo.sdk.internal.command.CmdBase;
import h.c.c.s.f.a;
import h.c.c.s.f.b;
import h.c.c.s.f.c;

/* JADX INFO: loaded from: classes.dex */
public class CmdSharp extends CmdBase implements b {
    private static a<CmdSharp> e = c.a();
    private SDKSharpType d;

    private CmdSharp() {
        super(null);
    }

    public static CmdSharp obtain(SDKSharpType sDKSharpType) {
        CmdSharp cmdSharpA = e.a();
        if (cmdSharpA == null) {
            cmdSharpA = new CmdSharp();
        }
        cmdSharpA.d = sDKSharpType;
        return cmdSharpA;
    }

    @Override // com.seewo.sdk.internal.command.CmdBase, h.c.c.s.f.b
    public void clear() {
        super.clear();
        this.d = null;
    }

    public SDKSharpType getType() {
        return this.d;
    }

    @Override // com.seewo.sdk.internal.command.CmdBase, h.c.c.s.f.b
    public void recycle() {
        e.b(this);
    }

    public void setType(SDKSharpType sDKSharpType) {
        this.d = sDKSharpType;
    }

    public static CmdSharp obtain(SDKSharpType sDKSharpType, Object obj) {
        CmdSharp cmdSharpObtain = obtain(sDKSharpType);
        cmdSharpObtain.setData(obj);
        return cmdSharpObtain;
    }
}
