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

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

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

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

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

    private CmdSystem() {
        super(null);
    }

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

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

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

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

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

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