2022-06-10 21:38:30 +09:00

85 lines
1.2 KiB
Smali

.class public final Lqg/i;
.super Ljava/lang/Object;
.source "TextUtils.java"
# direct methods
.method public constructor <init>()V
.locals 0
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static a(Ljava/lang/CharSequence;)Z
.locals 4
const/4 v0, 0x1
if-nez p0, :cond_0
return v0
:cond_0
const/4 v1, 0x0
move v2, v1
.line 1
:goto_0
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v3
if-ge v2, v3, :cond_2
.line 2
invoke-interface {p0, v2}, Ljava/lang/CharSequence;->charAt(I)C
move-result v3
invoke-static {v3}, Ljava/lang/Character;->isWhitespace(C)Z
move-result v3
if-nez v3, :cond_1
return v1
:cond_1
add-int/lit8 v2, v2, 0x1
goto :goto_0
:cond_2
return v0
.end method
.method public static b(Ljava/lang/CharSequence;)Z
.locals 1
const/4 v0, 0x1
if-nez p0, :cond_0
return v0
.line 1
:cond_0
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result p0
if-nez p0, :cond_1
goto :goto_0
:cond_1
const/4 v0, 0x0
:goto_0
return v0
.end method