.class public final Lcom/tencent/mm/opensdk/utils/d; .super Ljava/lang/Object; # direct methods .method public static a(Ljava/lang/String;)Z .locals 0 if-eqz p0, :cond_1 invoke-virtual {p0}, Ljava/lang/String;->length()I move-result p0 if-gtz p0, :cond_0 goto :goto_0 :cond_0 const/4 p0, 0x0 return p0 :cond_1 :goto_0 const/4 p0, 0x1 return p0 .end method .method public static b(Ljava/lang/String;)I .locals 2 const/4 v0, 0x0 if-eqz p0, :cond_1 :try_start_0 invoke-virtual {p0}, Ljava/lang/String;->length()I move-result v1 if-gtz v1, :cond_0 goto :goto_0 :cond_0 invoke-static {p0}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I move-result p0 :try_end_0 .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0 return p0 :catch_0 :cond_1 :goto_0 return v0 .end method