2019-07-24 11:27:29 +00:00
|
|
|
.class public Lkotlin/a/k;
|
|
|
|
.super Lkotlin/a/j;
|
|
|
|
.source "_Arrays.kt"
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
2019-10-09 23:16:36 +00:00
|
|
|
.method public static final asSequence([Ljava/lang/Object;)Lkotlin/sequences/Sequence;
|
|
|
|
.locals 1
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<T:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">([TT;)",
|
|
|
|
"Lkotlin/sequences/Sequence<",
|
|
|
|
"TT;>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
const-string v0, "$this$asSequence"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
array-length v0, p0
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
if-nez v0, :cond_0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
const/4 v0, 0x1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
goto :goto_0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
:cond_0
|
2019-07-24 11:27:29 +00:00
|
|
|
const/4 v0, 0x0
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
:goto_0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
|
|
|
|
invoke-static {}, Lkotlin/sequences/i;->emptySequence()Lkotlin/sequences/Sequence;
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
new-instance v0, Lkotlin/a/k$a;
|
|
|
|
|
|
|
|
invoke-direct {v0, p0}, Lkotlin/a/k$a;-><init>([Ljava/lang/Object;)V
|
|
|
|
|
|
|
|
check-cast v0, Lkotlin/sequences/Sequence;
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final contains([CC)Z
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
const-string v0, "$this$contains"
|
|
|
|
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
invoke-static {p0, p1}, Lkotlin/a/g;->indexOf([CC)I
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-ltz p0, :cond_0
|
|
|
|
|
|
|
|
const/4 p0, 0x1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return p0
|
|
|
|
|
|
|
|
:cond_0
|
2019-10-09 23:16:36 +00:00
|
|
|
const/4 p0, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
return p0
|
|
|
|
.end method
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
.method public static final contains([JJ)Z
|
|
|
|
.locals 1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
const-string v0, "$this$contains"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {p0, p1, p2}, Lkotlin/a/g;->indexOf([JJ)I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result p0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
if-ltz p0, :cond_0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
const/4 p0, 0x1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
return p0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const/4 p0, 0x0
|
|
|
|
|
|
|
|
return p0
|
2019-07-24 11:27:29 +00:00
|
|
|
.end method
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
.method public static final contains([Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
.locals 1
|
2019-07-24 11:27:29 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
2019-10-09 23:16:36 +00:00
|
|
|
"<T:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">([TT;TT;)Z"
|
2019-07-24 11:27:29 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
const-string v0, "$this$contains"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {p0, p1}, Lkotlin/a/g;->indexOf([Ljava/lang/Object;Ljava/lang/Object;)I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result p0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
if-ltz p0, :cond_0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
const/4 p0, 0x1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
return p0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
:cond_0
|
|
|
|
const/4 p0, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
return p0
|
|
|
|
.end method
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
.method public static final filterNotNull([Ljava/lang/Object;)Ljava/util/List;
|
|
|
|
.locals 1
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<T:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">([TT;)",
|
|
|
|
"Ljava/util/List<",
|
|
|
|
"TT;>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
const-string v0, "$this$filterNotNull"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
new-instance v0, Ljava/util/ArrayList;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
|
|
|
|
check-cast v0, Ljava/util/Collection;
|
|
|
|
|
|
|
|
invoke-static {p0, v0}, Lkotlin/a/g;->filterNotNullTo([Ljava/lang/Object;Ljava/util/Collection;)Ljava/util/Collection;
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
check-cast p0, Ljava/util/List;
|
|
|
|
|
|
|
|
return-object p0
|
2019-07-24 11:27:29 +00:00
|
|
|
.end method
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
.method public static final filterNotNullTo([Ljava/lang/Object;Ljava/util/Collection;)Ljava/util/Collection;
|
2019-07-24 11:27:29 +00:00
|
|
|
.locals 3
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<C::",
|
|
|
|
"Ljava/util/Collection<",
|
|
|
|
"-TT;>;T:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">([TT;TC;)TC;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
const-string v0, "$this$filterNotNullTo"
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
const-string v0, "destination"
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
array-length v0, p0
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
if-ge v1, v0, :cond_1
|
|
|
|
|
|
|
|
aget-object v2, p0, v1
|
|
|
|
|
|
|
|
if-eqz v2, :cond_0
|
|
|
|
|
|
|
|
invoke-interface {p1, v2}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
return-object p1
|
|
|
|
.end method
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
.method public static final firstOrNull([Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.locals 2
|
2019-07-24 11:27:29 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<T:",
|
|
|
|
"Ljava/lang/Object;",
|
2019-10-09 23:16:36 +00:00
|
|
|
">([TT;)TT;"
|
2019-07-24 11:27:29 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
const-string v0, "$this$firstOrNull"
|
|
|
|
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
array-length v0, p0
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
|
|
|
|
const/4 v0, 0x1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
goto :goto_0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
:cond_0
|
2019-07-24 11:27:29 +00:00
|
|
|
const/4 v0, 0x0
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
:goto_0
|
|
|
|
if-eqz v0, :cond_1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
const/4 p0, 0x0
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
aget-object p0, p0, v1
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final getIndices([I)Lkotlin/ranges/IntRange;
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
const-string v0, "$this$indices"
|
|
|
|
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
new-instance v0, Lkotlin/ranges/IntRange;
|
|
|
|
|
|
|
|
invoke-static {p0}, Lkotlin/a/g;->getLastIndex([I)I
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
invoke-direct {v0, v1, p0}, Lkotlin/ranges/IntRange;-><init>(II)V
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final getLastIndex([I)I
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
const-string v0, "$this$lastIndex"
|
|
|
|
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
array-length p0, p0
|
|
|
|
|
|
|
|
add-int/lit8 p0, p0, -0x1
|
|
|
|
|
|
|
|
return p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final getLastIndex([Ljava/lang/Object;)I
|
|
|
|
.locals 1
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<T:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">([TT;)I"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
const-string v0, "$this$lastIndex"
|
|
|
|
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
array-length p0, p0
|
|
|
|
|
|
|
|
add-int/lit8 p0, p0, -0x1
|
|
|
|
|
|
|
|
return p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final indexOf([CC)I
|
|
|
|
.locals 3
|
|
|
|
|
|
|
|
const-string v0, "$this$indexOf"
|
|
|
|
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
array-length v0, p0
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
:goto_0
|
2019-10-09 23:16:36 +00:00
|
|
|
if-ge v1, v0, :cond_1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
aget-char v2, p0, v1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
if-ne p1, v2, :cond_0
|
|
|
|
|
|
|
|
return v1
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const/4 p0, -0x1
|
|
|
|
|
|
|
|
return p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final indexOf([JJ)I
|
|
|
|
.locals 5
|
|
|
|
|
|
|
|
const-string v0, "$this$indexOf"
|
|
|
|
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
array-length v0, p0
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
if-ge v1, v0, :cond_1
|
|
|
|
|
|
|
|
aget-wide v2, p0, v1
|
|
|
|
|
|
|
|
cmp-long v4, p1, v2
|
|
|
|
|
|
|
|
if-nez v4, :cond_0
|
|
|
|
|
|
|
|
return v1
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const/4 p0, -0x1
|
|
|
|
|
|
|
|
return p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final indexOf([Ljava/lang/Object;Ljava/lang/Object;)I
|
|
|
|
.locals 3
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<T:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">([TT;TT;)I"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
const-string v0, "$this$indexOf"
|
|
|
|
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
if-nez p1, :cond_1
|
|
|
|
|
|
|
|
array-length p1, p0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
if-ge v0, p1, :cond_3
|
|
|
|
|
|
|
|
aget-object v1, p0, v0
|
|
|
|
|
|
|
|
if-nez v1, :cond_0
|
|
|
|
|
|
|
|
return v0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
add-int/lit8 v0, v0, 0x1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
array-length v1, p0
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
if-ge v0, v1, :cond_3
|
|
|
|
|
|
|
|
aget-object v2, p0, v0
|
|
|
|
|
|
|
|
invoke-static {p1, v2}, Lkotlin/jvm/internal/l;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
|
|
|
if-eqz v2, :cond_2
|
|
|
|
|
|
|
|
return v0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
add-int/lit8 v0, v0, 0x1
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
const/4 p0, -0x1
|
|
|
|
|
|
|
|
return p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final last([Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.locals 1
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<T:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">([TT;)TT;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
const-string v0, "$this$last"
|
|
|
|
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
array-length v0, p0
|
|
|
|
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
|
|
|
|
const/4 v0, 0x1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
|
|
|
|
invoke-static {p0}, Lkotlin/a/g;->getLastIndex([Ljava/lang/Object;)I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
aget-object p0, p0, v0
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
new-instance p0, Ljava/util/NoSuchElementException;
|
|
|
|
|
|
|
|
const-string v0, "Array is empty."
|
|
|
|
|
|
|
|
invoke-direct {p0, v0}, Ljava/util/NoSuchElementException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
check-cast p0, Ljava/lang/Throwable;
|
|
|
|
|
|
|
|
throw p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final reversed([Ljava/lang/Object;)Ljava/util/List;
|
|
|
|
.locals 1
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<T:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">([TT;)",
|
|
|
|
"Ljava/util/List<",
|
|
|
|
"TT;>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
const-string v0, "$this$reversed"
|
|
|
|
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
array-length v0, p0
|
|
|
|
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
|
|
|
|
const/4 v0, 0x1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
|
|
|
|
invoke-static {}, Lkotlin/a/m;->emptyList()Ljava/util/List;
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
invoke-static {p0}, Lkotlin/a/g;->toMutableList([Ljava/lang/Object;)Ljava/util/List;
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
invoke-static {p0}, Lkotlin/a/m;->reverse(Ljava/util/List;)V
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final single([C)C
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
const-string v0, "$this$single"
|
|
|
|
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
array-length v0, p0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
|
|
|
|
const/4 v1, 0x1
|
|
|
|
|
|
|
|
if-ne v0, v1, :cond_0
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
aget-char p0, p0, v0
|
|
|
|
|
|
|
|
return p0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
new-instance p0, Ljava/lang/IllegalArgumentException;
|
|
|
|
|
|
|
|
const-string v0, "Array has more than one element."
|
|
|
|
|
|
|
|
invoke-direct {p0, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
check-cast p0, Ljava/lang/Throwable;
|
|
|
|
|
|
|
|
throw p0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
new-instance p0, Ljava/util/NoSuchElementException;
|
|
|
|
|
|
|
|
const-string v0, "Array is empty."
|
|
|
|
|
|
|
|
invoke-direct {p0, v0}, Ljava/util/NoSuchElementException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
check-cast p0, Ljava/lang/Throwable;
|
|
|
|
|
|
|
|
throw p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final singleOrNull([Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.locals 2
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<T:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">([TT;)TT;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
const-string v0, "$this$singleOrNull"
|
|
|
|
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
array-length v0, p0
|
|
|
|
|
|
|
|
const/4 v1, 0x1
|
|
|
|
|
|
|
|
if-ne v0, v1, :cond_0
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
aget-object p0, p0, v0
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const/4 p0, 0x0
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final sortedArrayWith([Ljava/lang/Object;Ljava/util/Comparator;)[Ljava/lang/Object;
|
|
|
|
.locals 1
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<T:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">([TT;",
|
|
|
|
"Ljava/util/Comparator<",
|
|
|
|
"-TT;>;)[TT;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
const-string v0, "$this$sortedArrayWith"
|
|
|
|
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
const-string v0, "comparator"
|
|
|
|
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
array-length v0, p0
|
|
|
|
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
|
|
|
|
const/4 v0, 0x1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
array-length v0, p0
|
|
|
|
|
|
|
|
invoke-static {p0, v0}, Ljava/util/Arrays;->copyOf([Ljava/lang/Object;I)[Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
const-string v0, "java.util.Arrays.copyOf(this, size)"
|
|
|
|
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
invoke-static {p0, p1}, Lkotlin/a/g;->sortWith([Ljava/lang/Object;Ljava/util/Comparator;)V
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final sortedWith([Ljava/lang/Object;Ljava/util/Comparator;)Ljava/util/List;
|
|
|
|
.locals 1
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<T:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">([TT;",
|
|
|
|
"Ljava/util/Comparator<",
|
|
|
|
"-TT;>;)",
|
|
|
|
"Ljava/util/List<",
|
|
|
|
"TT;>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
const-string v0, "$this$sortedWith"
|
|
|
|
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
const-string v0, "comparator"
|
|
|
|
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
invoke-static {p0, p1}, Lkotlin/a/g;->sortedArrayWith([Ljava/lang/Object;Ljava/util/Comparator;)[Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
invoke-static {p0}, Lkotlin/a/g;->asList([Ljava/lang/Object;)Ljava/util/List;
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final toCollection([JLjava/util/Collection;)Ljava/util/Collection;
|
|
|
|
.locals 4
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<C::",
|
|
|
|
"Ljava/util/Collection<",
|
|
|
|
"-",
|
|
|
|
"Ljava/lang/Long;",
|
|
|
|
">;>([JTC;)TC;"
|
|
|
|
}
|
|
|
|
.end annotation
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
const-string v0, "$this$toCollection"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
const-string v0, "destination"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
array-length v0, p0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
const/4 v1, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
:goto_0
|
|
|
|
if-ge v1, v0, :cond_0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
aget-wide v2, p0, v1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {v2, v3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result-object v2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-interface {p1, v2}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
add-int/lit8 v1, v1, 0x1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
goto :goto_0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
:cond_0
|
|
|
|
return-object p1
|
2019-07-24 11:27:29 +00:00
|
|
|
.end method
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
.method public static final toCollection([Ljava/lang/Object;Ljava/util/Collection;)Ljava/util/Collection;
|
2019-07-24 11:27:29 +00:00
|
|
|
.locals 3
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<T:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
"C::",
|
|
|
|
"Ljava/util/Collection<",
|
|
|
|
"-TT;>;>([TT;TC;)TC;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
const-string v0, "$this$toCollection"
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
const-string v0, "destination"
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
array-length v0, p0
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
if-ge v1, v0, :cond_0
|
|
|
|
|
|
|
|
aget-object v2, p0, v1
|
|
|
|
|
|
|
|
invoke-interface {p1, v2}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
return-object p1
|
|
|
|
.end method
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
.method public static final toList([I)Ljava/util/List;
|
2019-07-24 11:27:29 +00:00
|
|
|
.locals 2
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
2019-10-09 23:16:36 +00:00
|
|
|
"([I)",
|
|
|
|
"Ljava/util/List<",
|
|
|
|
"Ljava/lang/Integer;",
|
|
|
|
">;"
|
2019-07-24 11:27:29 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
const-string v0, "$this$toList"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
array-length v0, p0
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
if-eqz v0, :cond_1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
const/4 v1, 0x1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
if-eq v0, v1, :cond_0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {p0}, Lkotlin/a/g;->toMutableList([I)Ljava/util/List;
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
return-object p0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
aget p0, p0, v0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {p0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
invoke-static {p0}, Lkotlin/a/m;->listOf(Ljava/lang/Object;)Ljava/util/List;
|
|
|
|
|
|
|
|
move-result-object p0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-object p0
|
|
|
|
|
|
|
|
:cond_1
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {}, Lkotlin/a/m;->emptyList()Ljava/util/List;
|
|
|
|
|
|
|
|
move-result-object p0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-object p0
|
|
|
|
.end method
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
.method public static final toList([Ljava/lang/Object;)Ljava/util/List;
|
|
|
|
.locals 2
|
2019-07-24 11:27:29 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<T:",
|
|
|
|
"Ljava/lang/Object;",
|
2019-10-09 23:16:36 +00:00
|
|
|
">([TT;)",
|
|
|
|
"Ljava/util/List<",
|
|
|
|
"TT;>;"
|
2019-07-24 11:27:29 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
const-string v0, "$this$toList"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
array-length v0, p0
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
if-eqz v0, :cond_1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
const/4 v1, 0x1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
if-eq v0, v1, :cond_0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {p0}, Lkotlin/a/g;->toMutableList([Ljava/lang/Object;)Ljava/util/List;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result-object p0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
return-object p0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
:cond_0
|
|
|
|
const/4 v0, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
aget-object p0, p0, v0
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {p0}, Lkotlin/a/m;->listOf(Ljava/lang/Object;)Ljava/util/List;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result-object p0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
return-object p0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
:cond_1
|
|
|
|
invoke-static {}, Lkotlin/a/m;->emptyList()Ljava/util/List;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result-object p0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
return-object p0
|
2019-07-24 11:27:29 +00:00
|
|
|
.end method
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
.method public static final toMutableList([I)Ljava/util/List;
|
|
|
|
.locals 4
|
2019-07-24 11:27:29 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
2019-10-09 23:16:36 +00:00
|
|
|
"([I)",
|
2019-07-24 11:27:29 +00:00
|
|
|
"Ljava/util/List<",
|
2019-10-09 23:16:36 +00:00
|
|
|
"Ljava/lang/Integer;",
|
|
|
|
">;"
|
2019-07-24 11:27:29 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
const-string v0, "$this$toMutableList"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
array-length v1, p0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-direct {v0, v1}, Ljava/util/ArrayList;-><init>(I)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
array-length v1, p0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
const/4 v2, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
:goto_0
|
|
|
|
if-ge v2, v1, :cond_0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
aget v3, p0, v2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {v3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result-object v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-virtual {v0, v3}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
add-int/lit8 v2, v2, 0x1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
goto :goto_0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
:cond_0
|
|
|
|
check-cast v0, Ljava/util/List;
|
|
|
|
|
|
|
|
return-object v0
|
2019-07-24 11:27:29 +00:00
|
|
|
.end method
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
.method public static final toMutableList([Ljava/lang/Object;)Ljava/util/List;
|
2019-07-24 11:27:29 +00:00
|
|
|
.locals 1
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<T:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">([TT;)",
|
|
|
|
"Ljava/util/List<",
|
|
|
|
"TT;>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
const-string v0, "$this$toMutableList"
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {p0}, Lkotlin/a/m;->asCollection([Ljava/lang/Object;)Ljava/util/Collection;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
invoke-direct {v0, p0}, Ljava/util/ArrayList;-><init>(Ljava/util/Collection;)V
|
|
|
|
|
|
|
|
check-cast v0, Ljava/util/List;
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
.method public static final toSet([J)Ljava/util/Set;
|
2019-07-24 11:27:29 +00:00
|
|
|
.locals 2
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
2019-10-09 23:16:36 +00:00
|
|
|
"([J)",
|
2019-07-24 11:27:29 +00:00
|
|
|
"Ljava/util/Set<",
|
2019-10-09 23:16:36 +00:00
|
|
|
"Ljava/lang/Long;",
|
|
|
|
">;"
|
2019-07-24 11:27:29 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
const-string v0, "$this$toSet"
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
array-length v0, p0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
|
|
|
|
const/4 v1, 0x1
|
|
|
|
|
|
|
|
if-eq v0, v1, :cond_0
|
|
|
|
|
|
|
|
new-instance v0, Ljava/util/LinkedHashSet;
|
|
|
|
|
|
|
|
array-length v1, p0
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {v1}, Lkotlin/a/ad;->mapCapacity(I)I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
invoke-direct {v0, v1}, Ljava/util/LinkedHashSet;-><init>(I)V
|
|
|
|
|
|
|
|
check-cast v0, Ljava/util/Collection;
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {p0, v0}, Lkotlin/a/g;->toCollection([JLjava/util/Collection;)Ljava/util/Collection;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
check-cast p0, Ljava/util/Set;
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
aget-wide v0, p0, v0
|
|
|
|
|
|
|
|
invoke-static {v0, v1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
|
|
|
|
|
|
|
move-result-object p0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {p0}, Lkotlin/a/ak;->setOf(Ljava/lang/Object;)Ljava/util/Set;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
|
|
|
|
:cond_1
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {}, Lkotlin/a/ak;->emptySet()Ljava/util/Set;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result-object p0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-object p0
|
|
|
|
.end method
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
.method public static final toSet([Ljava/lang/Object;)Ljava/util/Set;
|
2019-10-01 14:15:45 +00:00
|
|
|
.locals 2
|
2019-07-24 11:27:29 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<T:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">([TT;)",
|
2019-10-09 23:16:36 +00:00
|
|
|
"Ljava/util/Set<",
|
2019-07-24 11:27:29 +00:00
|
|
|
"TT;>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
const-string v0, "$this$toSet"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
array-length v0, p0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
const/4 v1, 0x1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
if-eq v0, v1, :cond_0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
new-instance v0, Ljava/util/LinkedHashSet;
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
array-length v1, p0
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {v1}, Lkotlin/a/ad;->mapCapacity(I)I
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result v1
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-direct {v0, v1}, Ljava/util/LinkedHashSet;-><init>(I)V
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
check-cast v0, Ljava/util/Collection;
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {p0, v0}, Lkotlin/a/g;->toCollection([Ljava/lang/Object;Ljava/util/Collection;)Ljava/util/Collection;
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result-object p0
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
check-cast p0, Ljava/util/Set;
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
return-object p0
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
:cond_0
|
|
|
|
const/4 v0, 0x0
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
aget-object p0, p0, v0
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {p0}, Lkotlin/a/ak;->setOf(Ljava/lang/Object;)Ljava/util/Set;
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result-object p0
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
return-object p0
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
:cond_1
|
|
|
|
invoke-static {}, Lkotlin/a/ak;->emptySet()Ljava/util/Set;
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result-object p0
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
return-object p0
|
2019-10-01 14:15:45 +00:00
|
|
|
.end method
|