package com.vungle.warren.model; import com.vungle.warren.VungleLogger; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; /* loaded from: classes2.dex */ public class j { /* renamed from: a, reason: collision with root package name */ Map f8360a = new ConcurrentHashMap(); /* renamed from: b, reason: collision with root package name */ Map f8361b = new ConcurrentHashMap(); /* renamed from: c, reason: collision with root package name */ Map f8362c = new ConcurrentHashMap(); /* renamed from: d, reason: collision with root package name */ Map f8363d = new ConcurrentHashMap(); /* renamed from: e, reason: collision with root package name */ String f8364e; public j(String str) { this.f8364e = str; } public Boolean a(String str) { return Boolean.valueOf(this.f8361b.get(str) != null && ((Boolean) this.f8361b.get(str)).booleanValue()); } public Boolean b(String str) { return (Boolean) this.f8361b.get(str); } public Long c(String str) { return Long.valueOf(this.f8363d.get(str) != null ? ((Long) this.f8363d.get(str)).longValue() : 0L); } public String d(String str) { return (String) this.f8360a.get(str); } public void e(String str, Object obj) { if (obj == null) { VungleLogger.a(true, j.class.getSimpleName(), "putValue", String.format("Value for key \"%s\" should not be null", str)); return; } if (obj instanceof String) { this.f8360a.put(str, (String) obj); return; } if (obj instanceof Boolean) { this.f8361b.put(str, (Boolean) obj); return; } if (obj instanceof Integer) { this.f8362c.put(str, (Integer) obj); } else if (obj instanceof Long) { this.f8363d.put(str, (Long) obj); } else { VungleLogger.a(true, j.class.getSimpleName(), "putValue", "Value type is not supported!"); } } public boolean equals(Object obj) { if (this == obj) { return true; } if (obj == null || getClass() != obj.getClass()) { return false; } j jVar = (j) obj; Map map = this.f8360a; if (map == null ? jVar.f8360a != null : !map.equals(jVar.f8360a)) { return false; } Map map2 = this.f8361b; if (map2 == null ? jVar.f8361b != null : !map2.equals(jVar.f8361b)) { return false; } Map map3 = this.f8362c; if (map3 == null ? jVar.f8362c != null : !map3.equals(jVar.f8362c)) { return false; } Map map4 = this.f8363d; if (map4 == null ? jVar.f8363d != null : !map4.equals(jVar.f8363d)) { return false; } String str = this.f8364e; String str2 = jVar.f8364e; return str != null ? str.equals(str2) : str2 == null; } public int hashCode() { Map map = this.f8360a; int hashCode = (map != null ? map.hashCode() : 0) * 31; Map map2 = this.f8361b; int hashCode2 = (hashCode + (map2 != null ? map2.hashCode() : 0)) * 31; Map map3 = this.f8362c; int hashCode3 = (hashCode2 + (map3 != null ? map3.hashCode() : 0)) * 31; Map map4 = this.f8363d; int hashCode4 = (hashCode3 + (map4 != null ? map4.hashCode() : 0)) * 31; String str = this.f8364e; return hashCode4 + (str != null ? str.hashCode() : 0); } }