- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
44 lines
1.2 KiB
Java
44 lines
1.2 KiB
Java
package com.ironsource;
|
|
|
|
import kotlin.jvm.internal.Intrinsics;
|
|
import org.json.JSONObject;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public final class xb {
|
|
private final JSONObject a;
|
|
|
|
public xb(JSONObject jSONObject) {
|
|
this.a = jSONObject;
|
|
}
|
|
|
|
public final Boolean a(String key) {
|
|
Intrinsics.checkNotNullParameter(key, "key");
|
|
JSONObject jSONObject = this.a;
|
|
Object opt = jSONObject != null ? jSONObject.opt(key) : null;
|
|
if (opt instanceof Boolean) {
|
|
return (Boolean) opt;
|
|
}
|
|
return null;
|
|
}
|
|
|
|
public final Integer b(String key) {
|
|
Intrinsics.checkNotNullParameter(key, "key");
|
|
JSONObject jSONObject = this.a;
|
|
Object opt = jSONObject != null ? jSONObject.opt(key) : null;
|
|
if (opt instanceof Integer) {
|
|
return (Integer) opt;
|
|
}
|
|
return null;
|
|
}
|
|
|
|
public final String c(String key) {
|
|
Intrinsics.checkNotNullParameter(key, "key");
|
|
JSONObject jSONObject = this.a;
|
|
Object opt = jSONObject != null ? jSONObject.opt(key) : null;
|
|
if (opt instanceof String) {
|
|
return (String) opt;
|
|
}
|
|
return null;
|
|
}
|
|
}
|