XploitSPY/app/factory/decompiled/smali/b/v.smali
2020-02-20 19:26:05 +05:30

376 lines
7.7 KiB
Smali

.class public final Lb/v;
.super Ljava/lang/Object;
.source ""
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lb/v$a;
}
.end annotation
# instance fields
.field private final a:[Ljava/lang/String;
# direct methods
.method constructor <init>(Lb/v$a;)V
.locals 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iget-object p1, p1, Lb/v$a;->a:Ljava/util/List;
invoke-interface {p1}, Ljava/util/List;->size()I
move-result v0
new-array v0, v0, [Ljava/lang/String;
invoke-interface {p1, v0}, Ljava/util/List;->toArray([Ljava/lang/Object;)[Ljava/lang/Object;
move-result-object p1
check-cast p1, [Ljava/lang/String;
iput-object p1, p0, Lb/v;->a:[Ljava/lang/String;
return-void
.end method
.method private static a([Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
.locals 2
array-length v0, p0
add-int/lit8 v0, v0, -0x2
:goto_0
if-ltz v0, :cond_1
aget-object v1, p0, v0
invoke-virtual {p1, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z
move-result v1
if-eqz v1, :cond_0
add-int/lit8 v0, v0, 0x1
aget-object p0, p0, v0
return-object p0
:cond_0
add-int/lit8 v0, v0, -0x2
goto :goto_0
:cond_1
const/4 p0, 0x0
return-object p0
.end method
# virtual methods
.method public a()Lb/v$a;
.locals 3
new-instance v0, Lb/v$a;
invoke-direct {v0}, Lb/v$a;-><init>()V
iget-object v1, v0, Lb/v$a;->a:Ljava/util/List;
iget-object v2, p0, Lb/v;->a:[Ljava/lang/String;
invoke-static {v1, v2}, Ljava/util/Collections;->addAll(Ljava/util/Collection;[Ljava/lang/Object;)Z
return-object v0
.end method
.method public a(I)Ljava/lang/String;
.locals 1
iget-object v0, p0, Lb/v;->a:[Ljava/lang/String;
mul-int/lit8 p1, p1, 0x2
aget-object p1, v0, p1
return-object p1
.end method
.method public a(Ljava/lang/String;)Ljava/lang/String;
.locals 1
iget-object v0, p0, Lb/v;->a:[Ljava/lang/String;
invoke-static {v0, p1}, Lb/v;->a([Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
move-result-object p1
return-object p1
.end method
.method public b()I
.locals 1
iget-object v0, p0, Lb/v;->a:[Ljava/lang/String;
array-length v0, v0
div-int/lit8 v0, v0, 0x2
return v0
.end method
.method public b(I)Ljava/lang/String;
.locals 1
iget-object v0, p0, Lb/v;->a:[Ljava/lang/String;
mul-int/lit8 p1, p1, 0x2
add-int/lit8 p1, p1, 0x1
aget-object p1, v0, p1
return-object p1
.end method
.method public b(Ljava/lang/String;)Ljava/util/List;
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/String;",
")",
"Ljava/util/List<",
"Ljava/lang/String;",
">;"
}
.end annotation
invoke-virtual {p0}, Lb/v;->b()I
move-result v0
const/4 v1, 0x0
const/4 v2, 0x0
:goto_0
if-ge v2, v0, :cond_2
invoke-virtual {p0, v2}, Lb/v;->a(I)Ljava/lang/String;
move-result-object v3
invoke-virtual {p1, v3}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z
move-result v3
if-eqz v3, :cond_1
if-nez v1, :cond_0
new-instance v1, Ljava/util/ArrayList;
const/4 v3, 0x2
invoke-direct {v1, v3}, Ljava/util/ArrayList;-><init>(I)V
:cond_0
invoke-virtual {p0, v2}, Lb/v;->b(I)Ljava/lang/String;
move-result-object v3
invoke-interface {v1, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z
:cond_1
add-int/lit8 v2, v2, 0x1
goto :goto_0
:cond_2
if-eqz v1, :cond_3
invoke-static {v1}, Ljava/util/Collections;->unmodifiableList(Ljava/util/List;)Ljava/util/List;
move-result-object p1
goto :goto_1
:cond_3
invoke-static {}, Ljava/util/Collections;->emptyList()Ljava/util/List;
move-result-object p1
:goto_1
return-object p1
.end method
.method public c()Ljava/util/Map;
.locals 6
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/Map<",
"Ljava/lang/String;",
"Ljava/util/List<",
"Ljava/lang/String;",
">;>;"
}
.end annotation
new-instance v0, Ljava/util/TreeMap;
sget-object v1, Ljava/lang/String;->CASE_INSENSITIVE_ORDER:Ljava/util/Comparator;
invoke-direct {v0, v1}, Ljava/util/TreeMap;-><init>(Ljava/util/Comparator;)V
invoke-virtual {p0}, Lb/v;->b()I
move-result v1
const/4 v2, 0x0
:goto_0
if-ge v2, v1, :cond_1
invoke-virtual {p0, v2}, Lb/v;->a(I)Ljava/lang/String;
move-result-object v3
sget-object v4, Ljava/util/Locale;->US:Ljava/util/Locale;
invoke-virtual {v3, v4}, Ljava/lang/String;->toLowerCase(Ljava/util/Locale;)Ljava/lang/String;
move-result-object v3
invoke-interface {v0, v3}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v4
check-cast v4, Ljava/util/List;
if-nez v4, :cond_0
new-instance v4, Ljava/util/ArrayList;
const/4 v5, 0x2
invoke-direct {v4, v5}, Ljava/util/ArrayList;-><init>(I)V
invoke-interface {v0, v3, v4}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
:cond_0
invoke-virtual {p0, v2}, Lb/v;->b(I)Ljava/lang/String;
move-result-object v3
invoke-interface {v4, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z
add-int/lit8 v2, v2, 0x1
goto :goto_0
:cond_1
return-object v0
.end method
.method public equals(Ljava/lang/Object;)Z
.locals 1
instance-of v0, p1, Lb/v;
if-eqz v0, :cond_0
check-cast p1, Lb/v;
iget-object p1, p1, Lb/v;->a:[Ljava/lang/String;
iget-object v0, p0, Lb/v;->a:[Ljava/lang/String;
invoke-static {p1, v0}, Ljava/util/Arrays;->equals([Ljava/lang/Object;[Ljava/lang/Object;)Z
move-result p1
if-eqz p1, :cond_0
const/4 p1, 0x1
goto :goto_0
:cond_0
const/4 p1, 0x0
:goto_0
return p1
.end method
.method public hashCode()I
.locals 1
iget-object v0, p0, Lb/v;->a:[Ljava/lang/String;
invoke-static {v0}, Ljava/util/Arrays;->hashCode([Ljava/lang/Object;)I
move-result v0
return v0
.end method
.method public toString()Ljava/lang/String;
.locals 4
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
invoke-virtual {p0}, Lb/v;->b()I
move-result v1
const/4 v2, 0x0
:goto_0
if-ge v2, v1, :cond_0
invoke-virtual {p0, v2}, Lb/v;->a(I)Ljava/lang/String;
move-result-object v3
invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v3, ": "
invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {p0, v2}, Lb/v;->b(I)Ljava/lang/String;
move-result-object v3
invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v3, "\n"
invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
add-int/lit8 v2, v2, 0x1
goto :goto_0
:cond_0
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
return-object v0
.end method