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

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 CmdSystem extends CmdBase implements b {
    private static a<CmdSystem> e = c.a();
    private SDKSystemType d;

    private CmdSystem() {
        super(null);
    }

    public static CmdSystem obtain(SDKSystemType sDKSystemType) {
        CmdSystem cmdSystemA = e.a();
        if (cmdSystemA == null) {
            cmdSystemA = new CmdSystem();
        }
        cmdSystemA.d = sDKSystemType;
        return cmdSystemA;
    }

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

    public SDKSystemType 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(SDKSystemType sDKSystemType) {
        this.d = sDKSystemType;
    }

    public static CmdSystem obtain(SDKSystemType sDKSystemType, Object obj) {
        CmdSystem cmdSystemObtain = obtain(sDKSystemType);
        cmdSystemObtain.setData(obj);
        return cmdSystemObtain;
    }
}
