21 lines
473 B
Java
21 lines
473 B
Java
package com.tencent.mm.opensdk.utils;
|
|
|
|
/* loaded from: classes.dex */
|
|
public final class d {
|
|
public static boolean h(String str) {
|
|
return str == null || str.length() <= 0;
|
|
}
|
|
|
|
public static int i(String str) {
|
|
if (str != null) {
|
|
try {
|
|
if (str.length() > 0) {
|
|
return Integer.parseInt(str);
|
|
}
|
|
} catch (Exception unused) {
|
|
}
|
|
}
|
|
return 0;
|
|
}
|
|
}
|