Files
rr3-apk/decompiled/sources/com/fyber/inneractive/sdk/config/global/c.java
Daniel Elliott f9d20bb3fc Add decompiled APK source code (JADX)
- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 14:52:23 -08:00

42 lines
1.1 KiB
Java

package com.fyber.inneractive.sdk.config.global;
import java.util.HashSet;
import java.util.Iterator;
import org.json.JSONArray;
/* loaded from: classes2.dex */
public final class c implements d {
public final HashSet a = new HashSet();
public final boolean b;
public c(JSONArray jSONArray, boolean z) {
if (jSONArray != null) {
for (int i = 0; i < jSONArray.length(); i++) {
long optLong = jSONArray.optLong(i);
if (optLong != 0) {
this.a.add(Long.valueOf(optLong));
}
}
}
this.b = z;
}
@Override // com.fyber.inneractive.sdk.config.global.d
public final boolean a(e eVar) {
if (this.a.isEmpty() || eVar.a == null) {
return false;
}
Iterator it = this.a.iterator();
while (it.hasNext()) {
if (((Long) it.next()).equals(eVar.a)) {
return !this.b;
}
}
return this.b;
}
public final String toString() {
return String.format("%s - %s include: %b", "demand", this.a, Boolean.valueOf(this.b));
}
}