what-the-bank/sources/o/JjC.java

105 lines
2.7 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.os.Parcel;
import android.os.Parcelable;
import com.airbnb.deeplinkdispatch.UrlTreeKt;
import com.huawei.hms.support.feature.result.CommonConstant;
import java.util.HashMap;
import java.util.Map;
import java.util.Objects;
/* loaded from: classes3.dex */
public abstract class JjC implements Parcelable {
protected Map<String, pug> c;
@Override // android.os.Parcelable
public int describeContents() {
return 0;
}
/* JADX INFO: Access modifiers changed from: package-private */
public JjC() {
this.c = new HashMap();
}
public final void d(String str, String str2) {
pug pugVar = new pug(str, str2);
this.c.put(pugVar.e, pugVar);
}
public final void b(String str) {
pug pugVar = new pug(CommonConstant.KEY_STATUS, str);
this.c.put(pugVar.e, pugVar);
}
public final void e(String str) {
pug pugVar = new pug("source", str);
this.c.put(pugVar.e, pugVar);
}
public final void d(String str) {
pug pugVar = new pug("subtype", str);
this.c.put(pugVar.e, pugVar);
}
public final void c() {
this.c = new HashMap();
}
public final void c(jXq jxq, String str) {
jxq.c(str, this.c.values());
}
@Override // android.os.Parcelable
public void writeToParcel(Parcel parcel, int i) {
parcel.writeInt(this.c.size());
for (Map.Entry<String, pug> entry : this.c.entrySet()) {
parcel.writeString(entry.getKey());
parcel.writeParcelable(entry.getValue(), i);
}
}
/* JADX INFO: Access modifiers changed from: package-private */
public JjC(Parcel parcel) {
Qp_(parcel);
}
/* JADX INFO: Access modifiers changed from: protected */
public final void Qp_(Parcel parcel) {
int readInt = parcel.readInt();
this.c = new HashMap(readInt);
for (int i = 0; i < readInt; i++) {
this.c.put(parcel.readString(), (pug) parcel.readParcelable(pug.class.getClassLoader()));
}
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null || getClass() != obj.getClass()) {
return false;
}
return Objects.equals(this.c, ((JjC) obj).c);
}
public int hashCode() {
Map<String, pug> map = this.c;
if (map != null) {
return map.hashCode();
}
return 0;
}
public String toString() {
StringBuilder sb = new StringBuilder("BaseTracker{params=");
sb.append(this.c);
sb.append(UrlTreeKt.componentParamSuffixChar);
return sb.toString();
}
public final void b(pug pugVar) {
this.c.put(pugVar.e, pugVar);
}
}