package ob;

import com.google.zxing.BarcodeFormat;
import com.google.zxing.ResultMetadataType;
import java.util.EnumMap;
import java.util.Map;

/* JADX INFO: loaded from: classes.dex */
public final class f {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final String f31467a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final byte[] f31468b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public g[] f31469c;

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public final BarcodeFormat f31470d;

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    public Map f31471e;

    /* JADX WARN: 'this' call moved to the top of the method (can break code semantics) */
    public f(String str, byte[] bArr, g[] gVarArr, BarcodeFormat barcodeFormat) {
        this(str, bArr, gVarArr, barcodeFormat, 0);
        System.currentTimeMillis();
    }

    public final void a(Map map) {
        if (map != null) {
            Map map2 = this.f31471e;
            if (map2 == null) {
                this.f31471e = map;
            } else {
                map2.putAll(map);
            }
        }
    }

    public final void b(ResultMetadataType resultMetadataType, Object obj) {
        if (this.f31471e == null) {
            this.f31471e = new EnumMap(ResultMetadataType.class);
        }
        this.f31471e.put(resultMetadataType, obj);
    }

    public final String toString() {
        return this.f31467a;
    }

    public f(String str, byte[] bArr, g[] gVarArr, BarcodeFormat barcodeFormat, int i10) {
        this.f31467a = str;
        this.f31468b = bArr;
        this.f31469c = gVarArr;
        this.f31470d = barcodeFormat;
        this.f31471e = null;
    }
}
