53 lines
1.4 KiB
Java
53 lines
1.4 KiB
Java
package com.google.firebase.crashlytics;
|
|
|
|
import java.util.HashMap;
|
|
import java.util.Map;
|
|
|
|
/* loaded from: classes3.dex */
|
|
public class CustomKeysAndValues {
|
|
final Map<String, String> keysAndValues;
|
|
|
|
/* loaded from: classes3.dex */
|
|
public static class Builder {
|
|
private Map<String, String> keysAndValues = new HashMap();
|
|
|
|
public CustomKeysAndValues build() {
|
|
return new CustomKeysAndValues(this);
|
|
}
|
|
|
|
public Builder putBoolean(String str, boolean z3) {
|
|
this.keysAndValues.put(str, Boolean.toString(z3));
|
|
return this;
|
|
}
|
|
|
|
public Builder putDouble(String str, double d4) {
|
|
this.keysAndValues.put(str, Double.toString(d4));
|
|
return this;
|
|
}
|
|
|
|
public Builder putFloat(String str, float f2) {
|
|
this.keysAndValues.put(str, Float.toString(f2));
|
|
return this;
|
|
}
|
|
|
|
public Builder putInt(String str, int i) {
|
|
this.keysAndValues.put(str, Integer.toString(i));
|
|
return this;
|
|
}
|
|
|
|
public Builder putLong(String str, long j4) {
|
|
this.keysAndValues.put(str, Long.toString(j4));
|
|
return this;
|
|
}
|
|
|
|
public Builder putString(String str, String str2) {
|
|
this.keysAndValues.put(str, str2);
|
|
return this;
|
|
}
|
|
}
|
|
|
|
public CustomKeysAndValues(Builder builder) {
|
|
this.keysAndValues = builder.keysAndValues;
|
|
}
|
|
}
|