package com.applovin.impl; import java.util.HashSet; import java.util.Set; /* loaded from: classes.dex */ public class we { private static final Set b = new HashSet(); public static final we c = a("ar"); public static final we d = a("ttdasi_ms"); private String a; public interface a { Object a(Object obj); } public String a() { return this.a; } public String toString() { return this.a; } private we(String str) { this.a = str; } public boolean a(Object obj) { return obj instanceof we; } public boolean equals(Object obj) { if (obj == this) { return true; } if (!(obj instanceof we)) { return false; } we weVar = (we) obj; if (!weVar.a(this)) { return false; } String a2 = a(); String a3 = weVar.a(); return a2 != null ? a2.equals(a3) : a3 == null; } public int hashCode() { String a2 = a(); return (a2 == null ? 43 : a2.hashCode()) + 59; } private static we a(String str) { Set set = b; if (!set.contains(str)) { set.add(str); return new we(str); } throw new IllegalArgumentException("Key has already been used: " + str); } }