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

import com.seewo.sdk.internal.command.CmdBase;
import d.e.g.p.f.a;
import d.e.g.p.f.b;
import d.e.g.p.f.c;

/* JADX INFO: loaded from: classes.dex */
public class CmdSystem extends CmdBase implements b {

    /* JADX INFO: renamed from: g, reason: collision with root package name */
    private static a<CmdSystem> f2742g = c.a();

    /* JADX INFO: renamed from: f, reason: collision with root package name */
    private SDKSystemType f2743f;

    private CmdSystem() {
        super(null);
    }

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

    @Override // com.seewo.sdk.internal.command.CmdBase, d.e.g.p.f.b
    public void clear() {
        super.clear();
        this.f2743f = null;
    }

    public SDKSystemType getType() {
        return this.f2743f;
    }

    @Override // com.seewo.sdk.internal.command.CmdBase, d.e.g.p.f.b
    public void recycle() {
        f2742g.recycle(this);
    }

    public void setType(SDKSystemType sDKSystemType) {
        this.f2743f = sDKSystemType;
    }

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