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

63 lines
1.6 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
/* loaded from: classes4.dex */
public final class cBG {
private final String a;
private List<Integer> c;
/* loaded from: classes4.dex */
public static final class HBt {
private HBt() {
}
public /* synthetic */ HBt(byte b) {
this();
}
}
public cBG(String str, List<String> list) {
this.a = str;
ArrayList arrayList = null;
if (list != null && !list.isEmpty()) {
ArrayList arrayList2 = new ArrayList();
for (Object obj : list) {
String str2 = (String) obj;
C14957gcv.e(str2, "");
if (gdZ.b(str2) != null) {
arrayList2.add(obj);
}
}
ArrayList arrayList3 = arrayList2;
C14957gcv.e(arrayList3, "");
ArrayList arrayList4 = new ArrayList(arrayList3.size());
Iterator it = arrayList3.iterator();
while (it.hasNext()) {
arrayList4.add(Integer.valueOf(Integer.parseInt((String) it.next())));
}
arrayList = arrayList4;
}
this.c = arrayList;
}
public final boolean c(boolean z) {
String str = this.a;
if (str == null) {
return z;
}
int length = gdZ.b((CharSequence) str).toString().length();
List<Integer> list = this.c;
if (list != null) {
return list.contains(Integer.valueOf(length));
}
return length > 1;
}
static {
new HBt((byte) 0);
}
}