2020-03-27 22:23:51 +00:00
|
|
|
.class public Ly/q/l;
|
|
|
|
.super Ly/q/k;
|
2019-07-31 00:08:31 +00:00
|
|
|
.source "_Collections.kt"
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
2019-10-09 23:16:36 +00:00
|
|
|
.method public static final asSequence(Ljava/lang/Iterable;)Lkotlin/sequences/Sequence;
|
|
|
|
.locals 1
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<T:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">(",
|
|
|
|
"Ljava/lang/Iterable<",
|
|
|
|
"+TT;>;)",
|
|
|
|
"Lkotlin/sequences/Sequence<",
|
|
|
|
"TT;>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p0, :cond_0
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
new-instance v0, Ly/q/l$a;
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-direct {v0, p0}, Ly/q/l$a;-><init>(Ljava/lang/Iterable;)V
|
2019-10-09 23:16:36 +00:00
|
|
|
|
|
|
|
return-object v0
|
|
|
|
|
|
|
|
:cond_0
|
2019-12-06 03:29:40 +00:00
|
|
|
const-string p0, "$this$asSequence"
|
2019-08-14 23:59:34 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 p0, 0x0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
throw p0
|
2019-07-31 00:08:31 +00:00
|
|
|
.end method
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
.method public static final contains(Ljava/lang/Iterable;Ljava/lang/Object;)Z
|
2019-10-07 23:23:22 +00:00
|
|
|
.locals 1
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<T:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">(",
|
2019-10-09 23:16:36 +00:00
|
|
|
"Ljava/lang/Iterable<",
|
|
|
|
"+TT;>;TT;)Z"
|
2019-10-07 23:23:22 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p0, :cond_2
|
2019-10-07 23:23:22 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
instance-of v0, p0, Ljava/util/Collection;
|
2019-10-07 23:23:22 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
if-eqz v0, :cond_0
|
2019-10-07 23:23:22 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
check-cast p0, Ljava/util/Collection;
|
2019-10-07 23:23:22 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-interface {p0, p1}, Ljava/util/Collection;->contains(Ljava/lang/Object;)Z
|
2019-10-07 23:23:22 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result p0
|
2019-10-07 23:23:22 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
return p0
|
2019-10-07 23:23:22 +00:00
|
|
|
|
|
|
|
:cond_0
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0, p1}, Ly/q/l;->indexOf(Ljava/lang/Iterable;Ljava/lang/Object;)I
|
2019-10-07 23:23:22 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result p0
|
2019-10-07 23:23:22 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
if-ltz p0, :cond_1
|
2019-10-07 23:23:22 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
const/4 p0, 0x1
|
2019-10-07 23:23:22 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
goto :goto_0
|
2019-10-09 23:16:36 +00:00
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const/4 p0, 0x0
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:goto_0
|
2019-10-09 23:16:36 +00:00
|
|
|
return p0
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
:cond_2
|
|
|
|
const-string p0, "$this$contains"
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
const/4 p0, 0x0
|
|
|
|
|
|
|
|
throw p0
|
2019-10-07 23:23:22 +00:00
|
|
|
.end method
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
.method public static final distinct(Ljava/lang/Iterable;)Ljava/util/List;
|
2019-12-06 03:29:40 +00:00
|
|
|
.locals 0
|
2019-10-07 23:23:22 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<T:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">(",
|
2019-10-09 23:16:36 +00:00
|
|
|
"Ljava/lang/Iterable<",
|
|
|
|
"+TT;>;)",
|
2019-10-07 23:23:22 +00:00
|
|
|
"Ljava/util/List<",
|
2019-10-09 23:16:36 +00:00
|
|
|
"TT;>;"
|
2019-10-07 23:23:22 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p0, :cond_0
|
2019-10-07 23:23:22 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/q/l;->toMutableSet(Ljava/lang/Iterable;)Ljava/util/Set;
|
2019-10-07 23:23:22 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result-object p0
|
2019-10-07 23:23:22 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/q/l;->toList(Ljava/lang/Iterable;)Ljava/util/List;
|
2019-10-07 23:23:22 +00:00
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
return-object p0
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string p0, "$this$distinct"
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
const/4 p0, 0x0
|
|
|
|
|
|
|
|
throw p0
|
2019-10-07 23:23:22 +00:00
|
|
|
.end method
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
.method public static final drop(Ljava/lang/Iterable;I)Ljava/util/List;
|
|
|
|
.locals 4
|
2019-10-07 23:23:22 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<T:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">(",
|
2019-10-09 23:16:36 +00:00
|
|
|
"Ljava/lang/Iterable<",
|
|
|
|
"+TT;>;I)",
|
2019-10-07 23:23:22 +00:00
|
|
|
"Ljava/util/List<",
|
2019-10-09 23:16:36 +00:00
|
|
|
"TT;>;"
|
2019-10-07 23:23:22 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p0, :cond_b
|
2019-10-07 23:23:22 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
const/4 v0, 0x0
|
2019-10-07 23:23:22 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
const/4 v1, 0x1
|
2019-10-07 23:23:22 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
if-ltz p1, :cond_0
|
2019-10-07 23:23:22 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
const/4 v2, 0x1
|
2019-10-07 23:23:22 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
goto :goto_0
|
2019-10-07 23:23:22 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
:cond_0
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
if-eqz v2, :cond_a
|
|
|
|
|
|
|
|
if-nez p1, :cond_1
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/q/l;->toList(Ljava/lang/Iterable;)Ljava/util/List;
|
2019-10-07 23:23:22 +00:00
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
:cond_1
|
|
|
|
instance-of v2, p0, Ljava/util/Collection;
|
2019-10-07 23:23:22 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
if-eqz v2, :cond_6
|
2019-10-07 23:23:22 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-object v2, p0
|
2019-10-07 23:23:22 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
check-cast v2, Ljava/util/Collection;
|
2019-10-07 23:23:22 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-interface {v2}, Ljava/util/Collection;->size()I
|
2019-10-07 23:23:22 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result v3
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
sub-int/2addr v3, p1
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
if-gtz v3, :cond_2
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
sget-object p0, Ly/q/o;->d:Ly/q/o;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
return-object p0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
:cond_2
|
|
|
|
if-ne v3, v1, :cond_3
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/q/l;->last(Ljava/lang/Iterable;)Ljava/lang/Object;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result-object p0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2020-04-07 08:23:55 +00:00
|
|
|
invoke-static {p0}, Le/k/a/c/e/p/e;->listOf(Ljava/lang/Object;)Ljava/util/List;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result-object p0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
return-object p0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
:cond_3
|
|
|
|
new-instance v1, Ljava/util/ArrayList;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-direct {v1, v3}, Ljava/util/ArrayList;-><init>(I)V
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
instance-of v3, p0, Ljava/util/List;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
if-eqz v3, :cond_7
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
instance-of v0, p0, Ljava/util/RandomAccess;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
if-eqz v0, :cond_4
|
|
|
|
|
|
|
|
invoke-interface {v2}, Ljava/util/Collection;->size()I
|
2019-07-31 00:08:31 +00:00
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
:goto_1
|
|
|
|
if-ge p1, v0, :cond_5
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-object v2, p0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
check-cast v2, Ljava/util/List;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-interface {v2, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result-object v2
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-virtual {v1, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
add-int/lit8 p1, p1, 0x1
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
goto :goto_1
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
:cond_4
|
|
|
|
check-cast p0, Ljava/util/List;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-interface {p0, p1}, Ljava/util/List;->listIterator(I)Ljava/util/ListIterator;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result-object p0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
:goto_2
|
|
|
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result p1
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
if-eqz p1, :cond_5
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result-object p1
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-virtual {v1, p1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
goto :goto_2
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
:cond_5
|
|
|
|
return-object v1
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
:cond_6
|
|
|
|
new-instance v1, Ljava/util/ArrayList;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
:cond_7
|
|
|
|
invoke-interface {p0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result-object p0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
:goto_3
|
|
|
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result v2
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
if-eqz v2, :cond_9
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result-object v2
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
if-lt v0, p1, :cond_8
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-virtual {v1, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
goto :goto_3
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
:cond_8
|
|
|
|
add-int/lit8 v0, v0, 0x1
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
goto :goto_3
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
:cond_9
|
2020-04-07 08:23:55 +00:00
|
|
|
invoke-static {v1}, Le/k/a/c/e/p/e;->optimizeReadOnlyList(Ljava/util/List;)Ljava/util/List;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
:cond_a
|
2019-12-06 03:29:40 +00:00
|
|
|
const-string p0, "Requested element count "
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const-string v0, " is less than zero."
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-static {p0, p1, v0}, Le/e/b/a/a;->a(Ljava/lang/String;ILjava/lang/String;)Ljava/lang/String;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result-object p0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-virtual {p0}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result-object p0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-direct {p1, p0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
throw p1
|
2019-10-28 23:46:47 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:cond_b
|
|
|
|
const-string p0, "$this$drop"
|
2019-10-28 23:46:47 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2019-10-28 23:46:47 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 p0, 0x0
|
2019-10-28 23:46:47 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
throw p0
|
2019-10-28 23:46:47 +00:00
|
|
|
.end method
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.method public static final emptyMap()Ljava/util/Map;
|
|
|
|
.locals 2
|
2019-10-28 23:46:47 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
2019-12-06 03:29:40 +00:00
|
|
|
"<K:",
|
2019-10-28 23:46:47 +00:00
|
|
|
"Ljava/lang/Object;",
|
2019-12-06 03:29:40 +00:00
|
|
|
"V:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">()",
|
|
|
|
"Ljava/util/Map<",
|
|
|
|
"TK;TV;>;"
|
2019-10-28 23:46:47 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
sget-object v0, Ly/q/p;->d:Ly/q/p;
|
2019-10-28 23:46:47 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz v0, :cond_0
|
2019-10-28 23:46:47 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
return-object v0
|
2019-10-28 23:46:47 +00:00
|
|
|
|
|
|
|
:cond_0
|
2020-03-27 22:23:51 +00:00
|
|
|
new-instance v0, Ly/l;
|
2019-10-28 23:46:47 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const-string v1, "null cannot be cast to non-null type kotlin.collections.Map<K, V>"
|
2019-10-28 23:46:47 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-direct {v0, v1}, Ly/l;-><init>(Ljava/lang/String;)V
|
2019-10-28 23:46:47 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
throw v0
|
2019-10-28 23:46:47 +00:00
|
|
|
.end method
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
.method public static final filterNotNull(Ljava/lang/Iterable;)Ljava/util/List;
|
2019-12-06 03:29:40 +00:00
|
|
|
.locals 2
|
2019-10-09 23:16:36 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<T:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">(",
|
|
|
|
"Ljava/lang/Iterable<",
|
|
|
|
"+TT;>;)",
|
|
|
|
"Ljava/util/List<",
|
|
|
|
"TT;>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p0, :cond_2
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
new-instance v0, Ljava/util/ArrayList;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
2019-07-31 00:08:31 +00:00
|
|
|
|
|
|
|
invoke-interface {p0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
:goto_0
|
|
|
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
move-result v1
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz v1, :cond_1
|
2019-07-31 00:08:31 +00:00
|
|
|
|
|
|
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
move-result-object v1
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz v1, :cond_0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-interface {v0, v1}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
|
2019-07-31 00:08:31 +00:00
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_1
|
2019-12-06 03:29:40 +00:00
|
|
|
return-object v0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
const-string p0, "$this$filterNotNull"
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
const/4 p0, 0x0
|
|
|
|
|
|
|
|
throw p0
|
2019-07-31 00:08:31 +00:00
|
|
|
.end method
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
.method public static final first(Ljava/lang/Iterable;)Ljava/lang/Object;
|
|
|
|
.locals 1
|
2019-07-31 00:08:31 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<T:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">(",
|
|
|
|
"Ljava/lang/Iterable<",
|
2019-10-09 23:16:36 +00:00
|
|
|
"+TT;>;)TT;"
|
2019-07-31 00:08:31 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p0, :cond_2
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
instance-of v0, p0, Ljava/util/List;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
if-eqz v0, :cond_0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
check-cast p0, Ljava/util/List;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/q/l;->first(Ljava/util/List;)Ljava/lang/Object;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
|
|
|
|
:cond_0
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-interface {p0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result v0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
if-eqz v0, :cond_1
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
|
|
|
|
:cond_1
|
2019-10-09 23:16:36 +00:00
|
|
|
new-instance p0, Ljava/util/NoSuchElementException;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
const-string v0, "Collection is empty."
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-direct {p0, v0}, Ljava/util/NoSuchElementException;-><init>(Ljava/lang/String;)V
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
throw p0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
const-string p0, "$this$first"
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
const/4 p0, 0x0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
|
|
|
throw p0
|
|
|
|
.end method
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
.method public static final first(Ljava/util/List;)Ljava/lang/Object;
|
|
|
|
.locals 1
|
2019-07-31 00:08:31 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<T:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">(",
|
|
|
|
"Ljava/util/List<",
|
2019-10-09 23:16:36 +00:00
|
|
|
"+TT;>;)TT;"
|
2019-07-31 00:08:31 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p0, :cond_1
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-interface {p0}, Ljava/util/List;->isEmpty()Z
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result v0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
if-nez v0, :cond_0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
const/4 v0, 0x0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-interface {p0, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result-object p0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
return-object p0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
:cond_0
|
|
|
|
new-instance p0, Ljava/util/NoSuchElementException;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
const-string v0, "List is empty."
|
|
|
|
|
|
|
|
invoke-direct {p0, v0}, Ljava/util/NoSuchElementException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw p0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:cond_1
|
|
|
|
const-string p0, "$this$first"
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
const/4 p0, 0x0
|
|
|
|
|
|
|
|
throw p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final firstOrNull(Ljava/lang/Iterable;)Ljava/lang/Object;
|
|
|
|
.locals 2
|
2019-07-31 00:08:31 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<T:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">(",
|
|
|
|
"Ljava/lang/Iterable<",
|
2019-10-09 23:16:36 +00:00
|
|
|
"+TT;>;)TT;"
|
2019-07-31 00:08:31 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 v0, 0x0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p0, :cond_3
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
instance-of v1, p0, Ljava/util/List;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz v1, :cond_1
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
check-cast p0, Ljava/util/List;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-interface {p0}, Ljava/util/List;->isEmpty()Z
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
move-result v1
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz v1, :cond_0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
return-object v0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
:cond_0
|
|
|
|
const/4 v0, 0x0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-interface {p0, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
return-object p0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
|
|
|
:cond_1
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-interface {p0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
move-result v1
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-nez v1, :cond_2
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
return-object v0
|
2019-10-09 23:16:36 +00:00
|
|
|
|
|
|
|
:cond_2
|
|
|
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
return-object p0
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
:cond_3
|
|
|
|
const-string p0, "$this$firstOrNull"
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw v0
|
2019-07-31 00:08:31 +00:00
|
|
|
.end method
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
.method public static final firstOrNull(Ljava/util/List;)Ljava/lang/Object;
|
2019-12-06 03:29:40 +00:00
|
|
|
.locals 2
|
2019-07-31 00:08:31 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<T:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">(",
|
|
|
|
"Ljava/util/List<",
|
|
|
|
"+TT;>;)TT;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 v0, 0x0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p0, :cond_1
|
2019-07-31 00:08:31 +00:00
|
|
|
|
|
|
|
invoke-interface {p0}, Ljava/util/List;->isEmpty()Z
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
move-result v1
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz v1, :cond_0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
goto :goto_0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
|
|
|
:cond_0
|
2019-10-09 23:16:36 +00:00
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
invoke-interface {p0, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
move-result-object v0
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:goto_0
|
|
|
|
return-object v0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const-string p0, "$this$firstOrNull"
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw v0
|
2019-10-09 23:16:36 +00:00
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final getOrNull(Ljava/util/List;I)Ljava/lang/Object;
|
2019-12-06 03:29:40 +00:00
|
|
|
.locals 2
|
2019-10-09 23:16:36 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<T:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">(",
|
|
|
|
"Ljava/util/List<",
|
|
|
|
"+TT;>;I)TT;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 v0, 0x0
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p0, :cond_1
|
2019-10-09 23:16:36 +00:00
|
|
|
|
|
|
|
if-ltz p1, :cond_0
|
|
|
|
|
2020-04-07 08:23:55 +00:00
|
|
|
invoke-static {p0}, Le/k/a/c/e/p/e;->getLastIndex(Ljava/util/List;)I
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
move-result v1
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-gt p1, v1, :cond_0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-interface {p0, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
move-result-object v0
|
2019-10-09 23:16:36 +00:00
|
|
|
|
|
|
|
:cond_0
|
2019-12-06 03:29:40 +00:00
|
|
|
return-object v0
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:cond_1
|
|
|
|
const-string p0, "$this$getOrNull"
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw v0
|
2019-07-31 00:08:31 +00:00
|
|
|
.end method
|
|
|
|
|
2020-03-14 04:13:36 +00:00
|
|
|
.method public static final varargs hashMapOf([Lkotlin/Pair;)Ljava/util/HashMap;
|
|
|
|
.locals 2
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<K:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
"V:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">([",
|
|
|
|
"Lkotlin/Pair<",
|
|
|
|
"+TK;+TV;>;)",
|
|
|
|
"Ljava/util/HashMap<",
|
|
|
|
"TK;TV;>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
new-instance v0, Ljava/util/HashMap;
|
|
|
|
|
|
|
|
array-length v1, p0
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {v1}, Ly/q/l;->mapCapacity(I)I
|
2020-03-14 04:13:36 +00:00
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
invoke-direct {v0, v1}, Ljava/util/HashMap;-><init>(I)V
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {v0, p0}, Ly/q/l;->putAll(Ljava/util/Map;[Lkotlin/Pair;)V
|
2020-03-14 04:13:36 +00:00
|
|
|
|
|
|
|
return-object v0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string p0, "pairs"
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2020-03-14 04:13:36 +00:00
|
|
|
|
|
|
|
const/4 p0, 0x0
|
|
|
|
|
|
|
|
throw p0
|
|
|
|
.end method
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
.method public static final indexOf(Ljava/lang/Iterable;Ljava/lang/Object;)I
|
2019-12-06 03:29:40 +00:00
|
|
|
.locals 3
|
2019-07-31 00:08:31 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<T:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">(",
|
|
|
|
"Ljava/lang/Iterable<",
|
|
|
|
"+TT;>;TT;)I"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 v0, 0x0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p0, :cond_4
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
instance-of v1, p0, Ljava/util/List;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz v1, :cond_0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
|
|
|
check-cast p0, Ljava/util/List;
|
|
|
|
|
|
|
|
invoke-interface {p0, p1}, Ljava/util/List;->indexOf(Ljava/lang/Object;)I
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
return p0
|
|
|
|
|
|
|
|
:cond_0
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 v1, 0x0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
|
|
|
invoke-interface {p0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
move-result v2
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz v2, :cond_3
|
2019-07-31 00:08:31 +00:00
|
|
|
|
|
|
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
move-result-object v2
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-ltz v1, :cond_2
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p1, v2}, Ly/u/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
move-result v2
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz v2, :cond_1
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
return v1
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:cond_1
|
|
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
|
|
|
|
goto :goto_0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
|
|
|
:cond_2
|
2020-04-07 08:23:55 +00:00
|
|
|
invoke-static {}, Le/k/a/c/e/p/e;->throwIndexOverflow()V
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
throw v0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
|
|
|
:cond_3
|
|
|
|
const/4 p0, -0x1
|
|
|
|
|
|
|
|
return p0
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
:cond_4
|
|
|
|
const-string p0, "$this$indexOf"
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw v0
|
2019-07-31 00:08:31 +00:00
|
|
|
.end method
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
.method public static final joinTo(Ljava/lang/Iterable;Ljava/lang/Appendable;Ljava/lang/CharSequence;Ljava/lang/CharSequence;Ljava/lang/CharSequence;ILjava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)Ljava/lang/Appendable;
|
|
|
|
.locals 2
|
2019-07-31 00:08:31 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<T:",
|
|
|
|
"Ljava/lang/Object;",
|
2019-10-09 23:16:36 +00:00
|
|
|
"A::",
|
|
|
|
"Ljava/lang/Appendable;",
|
|
|
|
">(",
|
2019-07-31 00:08:31 +00:00
|
|
|
"Ljava/lang/Iterable<",
|
2019-10-09 23:16:36 +00:00
|
|
|
"+TT;>;TA;",
|
|
|
|
"Ljava/lang/CharSequence;",
|
|
|
|
"Ljava/lang/CharSequence;",
|
|
|
|
"Ljava/lang/CharSequence;",
|
|
|
|
"I",
|
|
|
|
"Ljava/lang/CharSequence;",
|
|
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
|
|
"-TT;+",
|
|
|
|
"Ljava/lang/CharSequence;",
|
|
|
|
">;)TA;"
|
2019-07-31 00:08:31 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 v0, 0x0
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p0, :cond_9
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p1, :cond_8
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p2, :cond_7
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p3, :cond_6
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p4, :cond_5
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p6, :cond_4
|
2019-10-09 23:16:36 +00:00
|
|
|
|
|
|
|
invoke-interface {p1, p3}, Ljava/lang/Appendable;->append(Ljava/lang/CharSequence;)Ljava/lang/Appendable;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 p3, 0x0
|
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
invoke-interface {p0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
if-eqz v0, :cond_2
|
2019-07-31 00:08:31 +00:00
|
|
|
|
|
|
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
add-int/lit8 p3, p3, 0x1
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
const/4 v1, 0x1
|
|
|
|
|
|
|
|
if-le p3, v1, :cond_0
|
|
|
|
|
|
|
|
invoke-interface {p1, p2}, Ljava/lang/Appendable;->append(Ljava/lang/CharSequence;)Ljava/lang/Appendable;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
|
|
|
:cond_0
|
2019-10-09 23:16:36 +00:00
|
|
|
if-ltz p5, :cond_1
|
|
|
|
|
|
|
|
if-gt p3, p5, :cond_2
|
|
|
|
|
|
|
|
:cond_1
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p1, v0, p7}, Ly/a0/n;->appendElement(Ljava/lang/Appendable;Ljava/lang/Object;Lkotlin/jvm/functions/Function1;)V
|
2019-10-09 23:16:36 +00:00
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
if-ltz p5, :cond_3
|
|
|
|
|
|
|
|
if-le p3, p5, :cond_3
|
|
|
|
|
|
|
|
invoke-interface {p1, p6}, Ljava/lang/Appendable;->append(Ljava/lang/CharSequence;)Ljava/lang/Appendable;
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
invoke-interface {p1, p4}, Ljava/lang/Appendable;->append(Ljava/lang/CharSequence;)Ljava/lang/Appendable;
|
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
return-object p1
|
2019-11-28 00:30:53 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:cond_4
|
|
|
|
const-string p0, "truncated"
|
2019-11-28 00:30:53 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2019-11-28 00:30:53 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
throw v0
|
2019-11-28 00:30:53 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:cond_5
|
|
|
|
const-string p0, "postfix"
|
2019-11-28 00:30:53 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2019-11-28 00:30:53 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
throw v0
|
2019-11-28 00:30:53 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:cond_6
|
|
|
|
const-string p0, "prefix"
|
2019-11-28 00:30:53 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2019-11-28 00:30:53 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
throw v0
|
2019-11-28 00:30:53 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:cond_7
|
|
|
|
const-string p0, "separator"
|
2019-11-28 00:30:53 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2019-11-28 00:30:53 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
throw v0
|
2019-11-28 00:30:53 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:cond_8
|
|
|
|
const-string p0, "buffer"
|
2019-11-28 00:30:53 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2019-11-28 00:30:53 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
throw v0
|
2019-11-28 00:30:53 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:cond_9
|
|
|
|
const-string p0, "$this$joinTo"
|
2019-11-28 00:30:53 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2019-11-28 00:30:53 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
throw v0
|
|
|
|
.end method
|
2019-11-28 00:30:53 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.method public static synthetic joinToString$default(Ljava/lang/Iterable;Ljava/lang/CharSequence;Ljava/lang/CharSequence;Ljava/lang/CharSequence;ILjava/lang/CharSequence;Lkotlin/jvm/functions/Function1;I)Ljava/lang/String;
|
|
|
|
.locals 8
|
2019-11-28 00:30:53 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
and-int/lit8 v0, p7, 0x1
|
2019-11-28 00:30:53 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz v0, :cond_0
|
2019-11-28 00:30:53 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const-string p1, ", "
|
2019-11-28 00:30:53 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:cond_0
|
|
|
|
move-object v2, p1
|
2019-11-28 00:30:53 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
and-int/lit8 p1, p7, 0x2
|
2019-11-28 00:30:53 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const-string v0, ""
|
2019-11-28 00:30:53 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p1, :cond_1
|
2019-11-28 00:30:53 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
move-object v3, v0
|
2019-11-28 00:30:53 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
goto :goto_0
|
2019-11-28 00:30:53 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:cond_1
|
|
|
|
move-object v3, p2
|
2019-11-28 00:30:53 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:goto_0
|
|
|
|
and-int/lit8 p1, p7, 0x4
|
2019-11-28 00:30:53 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p1, :cond_2
|
2019-11-28 00:30:53 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
move-object v4, v0
|
2019-11-28 00:30:53 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
goto :goto_1
|
2019-11-28 00:30:53 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:cond_2
|
|
|
|
move-object v4, p3
|
2019-11-28 00:30:53 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:goto_1
|
|
|
|
and-int/lit8 p1, p7, 0x8
|
2019-11-28 00:30:53 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p1, :cond_3
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 p4, -0x1
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 v5, -0x1
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
goto :goto_2
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:cond_3
|
|
|
|
move v5, p4
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:goto_2
|
|
|
|
and-int/lit8 p1, p7, 0x10
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p1, :cond_4
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const-string p5, "..."
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:cond_4
|
|
|
|
move-object v6, p5
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
and-int/lit8 p1, p7, 0x20
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 p2, 0x0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p1, :cond_5
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
move-object v7, p2
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
goto :goto_3
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:cond_5
|
|
|
|
move-object v7, p6
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:goto_3
|
|
|
|
if-eqz p0, :cond_a
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz v2, :cond_9
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz v3, :cond_8
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz v4, :cond_7
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz v6, :cond_6
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
new-instance p1, Ljava/lang/StringBuilder;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-direct {p1}, Ljava/lang/StringBuilder;-><init>()V
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
move-object v0, p0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
move-object v1, p1
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static/range {v0 .. v7}, Ly/q/l;->joinTo(Ljava/lang/Iterable;Ljava/lang/Appendable;Ljava/lang/CharSequence;Ljava/lang/CharSequence;Ljava/lang/CharSequence;ILjava/lang/CharSequence;Lkotlin/jvm/functions/Function1;)Ljava/lang/Appendable;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
const-string p1, "joinTo(StringBuilder(), \u2026ed, transform).toString()"
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0, p1}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-07-31 00:08:31 +00:00
|
|
|
|
|
|
|
return-object p0
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:cond_6
|
|
|
|
const-string p0, "truncated"
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
throw p2
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:cond_7
|
|
|
|
const-string p0, "postfix"
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
throw p2
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:cond_8
|
|
|
|
const-string p0, "prefix"
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
throw p2
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:cond_9
|
|
|
|
const-string p0, "separator"
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
throw p2
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:cond_a
|
|
|
|
const-string p0, "$this$joinToString"
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
throw p2
|
2019-10-09 23:16:36 +00:00
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final last(Ljava/lang/Iterable;)Ljava/lang/Object;
|
|
|
|
.locals 2
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<T:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">(",
|
|
|
|
"Ljava/lang/Iterable<",
|
|
|
|
"+TT;>;)TT;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p0, :cond_3
|
2019-10-09 23:16:36 +00:00
|
|
|
|
|
|
|
instance-of v0, p0, Ljava/util/List;
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
check-cast p0, Ljava/util/List;
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/q/l;->last(Ljava/util/List;)Ljava/lang/Object;
|
2019-10-09 23:16:36 +00:00
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
|
|
|
|
:cond_0
|
2019-07-31 00:08:31 +00:00
|
|
|
invoke-interface {p0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result v0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
if-eqz v0, :cond_2
|
2019-07-31 00:08:31 +00:00
|
|
|
|
|
|
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result-object v0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:goto_0
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result v1
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz v1, :cond_1
|
|
|
|
|
|
|
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
goto :goto_0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:cond_1
|
2019-10-09 23:16:36 +00:00
|
|
|
return-object v0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
:cond_2
|
|
|
|
new-instance p0, Ljava/util/NoSuchElementException;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
const-string v0, "Collection is empty."
|
|
|
|
|
|
|
|
invoke-direct {p0, v0}, Ljava/util/NoSuchElementException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
throw p0
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
const-string p0, "$this$last"
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
const/4 p0, 0x0
|
2019-10-09 23:16:36 +00:00
|
|
|
|
|
|
|
throw p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final last(Ljava/util/List;)Ljava/lang/Object;
|
|
|
|
.locals 1
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<T:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">(",
|
|
|
|
"Ljava/util/List<",
|
|
|
|
"+TT;>;)TT;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p0, :cond_1
|
2019-10-09 23:16:36 +00:00
|
|
|
|
|
|
|
invoke-interface {p0}, Ljava/util/List;->isEmpty()Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
|
2020-04-07 08:23:55 +00:00
|
|
|
invoke-static {p0}, Le/k/a/c/e/p/e;->getLastIndex(Ljava/util/List;)I
|
2019-10-09 23:16:36 +00:00
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
invoke-interface {p0, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
:cond_0
|
|
|
|
new-instance p0, Ljava/util/NoSuchElementException;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
const-string v0, "List is empty."
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-direct {p0, v0}, Ljava/util/NoSuchElementException;-><init>(Ljava/lang/String;)V
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
throw p0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:cond_1
|
|
|
|
const-string p0, "$this$last"
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
const/4 p0, 0x0
|
|
|
|
|
|
|
|
throw p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final lastOrNull(Ljava/util/List;)Ljava/lang/Object;
|
|
|
|
.locals 2
|
2019-10-09 23:16:36 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<T:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">(",
|
|
|
|
"Ljava/util/List<",
|
|
|
|
"+TT;>;)TT;"
|
|
|
|
}
|
|
|
|
.end annotation
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 v0, 0x0
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p0, :cond_1
|
2019-10-09 23:16:36 +00:00
|
|
|
|
|
|
|
invoke-interface {p0}, Ljava/util/List;->isEmpty()Z
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
move-result v1
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz v1, :cond_0
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
goto :goto_0
|
2019-10-09 23:16:36 +00:00
|
|
|
|
|
|
|
:cond_0
|
|
|
|
invoke-interface {p0}, Ljava/util/List;->size()I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
add-int/lit8 v0, v0, -0x1
|
|
|
|
|
|
|
|
invoke-interface {p0, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
move-result-object v0
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:goto_0
|
|
|
|
return-object v0
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:cond_1
|
|
|
|
const-string p0, "$this$lastOrNull"
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
throw v0
|
|
|
|
.end method
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.method public static final mapCapacity(I)I
|
|
|
|
.locals 1
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 v0, 0x3
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-ge p0, v0, :cond_0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
add-int/lit8 p0, p0, 0x1
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
return p0
|
2019-10-09 23:16:36 +00:00
|
|
|
|
|
|
|
:cond_0
|
2019-12-06 03:29:40 +00:00
|
|
|
const/high16 v0, 0x40000000 # 2.0f
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-ge p0, v0, :cond_1
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
div-int/lit8 v0, p0, 0x3
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
add-int/2addr v0, p0
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
return v0
|
2019-10-25 01:57:51 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:cond_1
|
|
|
|
const p0, 0x7fffffff
|
2019-10-25 01:57:51 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
return p0
|
2019-10-25 01:57:51 +00:00
|
|
|
.end method
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.method public static final varargs mapOf([Lkotlin/Pair;)Ljava/util/Map;
|
|
|
|
.locals 2
|
2019-10-31 00:47:18 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
2019-12-06 03:29:40 +00:00
|
|
|
"<K:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
"V:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">([",
|
|
|
|
"Lkotlin/Pair<",
|
|
|
|
"+TK;+TV;>;)",
|
|
|
|
"Ljava/util/Map<",
|
|
|
|
"TK;TV;>;"
|
2019-10-31 00:47:18 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p0, :cond_1
|
2019-10-31 00:47:18 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
array-length v0, p0
|
2019-10-31 00:47:18 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-lez v0, :cond_0
|
2019-10-31 00:47:18 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
new-instance v0, Ljava/util/LinkedHashMap;
|
2019-10-31 00:47:18 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
array-length v1, p0
|
2019-10-31 00:47:18 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {v1}, Ly/q/l;->mapCapacity(I)I
|
2019-10-31 00:47:18 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
move-result v1
|
2019-10-31 00:47:18 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-direct {v0, v1}, Ljava/util/LinkedHashMap;-><init>(I)V
|
2019-10-31 00:47:18 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {v0, p0}, Ly/q/l;->putAll(Ljava/util/Map;[Lkotlin/Pair;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
goto :goto_0
|
2019-10-31 00:47:18 +00:00
|
|
|
|
|
|
|
:cond_0
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {}, Ly/q/l;->emptyMap()Ljava/util/Map;
|
2019-10-31 00:47:18 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
:goto_0
|
2019-12-06 03:29:40 +00:00
|
|
|
return-object v0
|
2019-10-31 00:47:18 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:cond_1
|
|
|
|
const-string p0, "pairs"
|
2019-10-31 00:47:18 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2019-10-31 00:47:18 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 p0, 0x0
|
2019-10-31 00:47:18 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
throw p0
|
2019-10-31 00:47:18 +00:00
|
|
|
.end method
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
.method public static final minus(Ljava/lang/Iterable;Ljava/lang/Iterable;)Ljava/util/List;
|
2019-07-31 00:08:31 +00:00
|
|
|
.locals 3
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<T:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">(",
|
|
|
|
"Ljava/lang/Iterable<",
|
|
|
|
"+TT;>;",
|
|
|
|
"Ljava/lang/Iterable<",
|
|
|
|
"+TT;>;)",
|
|
|
|
"Ljava/util/List<",
|
|
|
|
"TT;>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 v0, 0x0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p0, :cond_4
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p1, :cond_3
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2020-04-07 08:23:55 +00:00
|
|
|
invoke-static {p1, p0}, Le/k/a/c/e/p/e;->convertToSetForSetOperationWith(Ljava/lang/Iterable;Ljava/lang/Iterable;)Ljava/util/Collection;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
invoke-interface {p1}, Ljava/util/Collection;->isEmpty()Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/q/l;->toList(Ljava/lang/Iterable;)Ljava/util/List;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
|
|
|
|
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
|
|
|
|
invoke-interface {p0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
:goto_0
|
|
|
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
if-eqz v1, :cond_2
|
|
|
|
|
|
|
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
invoke-interface {p1, v1}, Ljava/util/Collection;->contains(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
|
|
|
if-nez v2, :cond_1
|
|
|
|
|
|
|
|
invoke-interface {v0, v1}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
return-object v0
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
:cond_3
|
|
|
|
const-string p0, "elements"
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
const-string p0, "$this$minus"
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw v0
|
2019-07-31 00:08:31 +00:00
|
|
|
.end method
|
|
|
|
|
2020-03-19 04:19:10 +00:00
|
|
|
.method public static final minus(Ljava/util/Map;Ljava/lang/Iterable;)Ljava/util/Map;
|
|
|
|
.locals 2
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<K:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
"V:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">(",
|
|
|
|
"Ljava/util/Map<",
|
|
|
|
"+TK;+TV;>;",
|
|
|
|
"Ljava/lang/Iterable<",
|
|
|
|
"+TK;>;)",
|
|
|
|
"Ljava/util/Map<",
|
|
|
|
"TK;TV;>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_2
|
|
|
|
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/q/l;->toMutableMap(Ljava/util/Map;)Ljava/util/Map;
|
2020-03-19 04:19:10 +00:00
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
invoke-interface {p0}, Ljava/util/Map;->keySet()Ljava/util/Set;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
|
2020-04-07 08:23:55 +00:00
|
|
|
invoke-static {p1, v1}, Le/k/a/c/e/p/e;->convertToSetForSetOperationWith(Ljava/lang/Iterable;Ljava/lang/Iterable;)Ljava/util/Collection;
|
2020-03-19 04:19:10 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {v1}, Ly/u/b/y;->asMutableCollection(Ljava/lang/Object;)Ljava/util/Collection;
|
2020-03-19 04:19:10 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-interface {v0, p1}, Ljava/util/Collection;->removeAll(Ljava/util/Collection;)Z
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/q/l;->optimizeReadOnlyMap(Ljava/util/Map;)Ljava/util/Map;
|
2020-03-19 04:19:10 +00:00
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string p0, "$this$removeAll"
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2020-03-19 04:19:10 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const-string p0, "keys"
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2020-03-19 04:19:10 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
const-string p0, "$this$minus"
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2020-03-19 04:19:10 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
.end method
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.method public static final varargs mutableMapOf([Lkotlin/Pair;)Ljava/util/Map;
|
|
|
|
.locals 2
|
2019-07-31 00:08:31 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
2019-12-06 03:29:40 +00:00
|
|
|
"<K:",
|
2019-07-31 00:08:31 +00:00
|
|
|
"Ljava/lang/Object;",
|
2019-12-06 03:29:40 +00:00
|
|
|
"V:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">([",
|
|
|
|
"Lkotlin/Pair<",
|
|
|
|
"+TK;+TV;>;)",
|
|
|
|
"Ljava/util/Map<",
|
|
|
|
"TK;TV;>;"
|
2019-07-31 00:08:31 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p0, :cond_0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
new-instance v0, Ljava/util/LinkedHashMap;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
array-length v1, p0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {v1}, Ly/q/l;->mapCapacity(I)I
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result v1
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-direct {v0, v1}, Ljava/util/LinkedHashMap;-><init>(I)V
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {v0, p0}, Ly/q/l;->putAll(Ljava/util/Map;[Lkotlin/Pair;)V
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
return-object v0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:cond_0
|
|
|
|
const-string p0, "pairs"
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
const/4 p0, 0x0
|
|
|
|
|
|
|
|
throw p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final optimizeReadOnlyMap(Ljava/util/Map;)Ljava/util/Map;
|
|
|
|
.locals 2
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<K:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
"V:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">(",
|
|
|
|
"Ljava/util/Map<",
|
|
|
|
"TK;+TV;>;)",
|
|
|
|
"Ljava/util/Map<",
|
|
|
|
"TK;TV;>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
if-eqz p0, :cond_2
|
|
|
|
|
|
|
|
invoke-interface {p0}, Ljava/util/Map;->size()I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
|
|
|
|
const/4 v1, 0x1
|
|
|
|
|
|
|
|
if-eq v0, v1, :cond_0
|
|
|
|
|
|
|
|
goto :goto_0
|
2019-10-09 23:16:36 +00:00
|
|
|
|
|
|
|
:cond_0
|
2020-04-07 08:23:55 +00:00
|
|
|
invoke-static {p0}, Le/k/a/c/e/p/e;->toSingletonMap(Ljava/util/Map;)Ljava/util/Map;
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
move-result-object p0
|
2019-10-09 23:16:36 +00:00
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:cond_1
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {}, Ly/q/l;->emptyMap()Ljava/util/Map;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
return-object p0
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
:cond_2
|
2019-12-06 03:29:40 +00:00
|
|
|
const-string p0, "$this$optimizeReadOnlyMap"
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 p0, 0x0
|
|
|
|
|
|
|
|
throw p0
|
2019-10-09 23:16:36 +00:00
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final plus(Ljava/util/Collection;Ljava/lang/Iterable;)Ljava/util/List;
|
|
|
|
.locals 3
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<T:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">(",
|
|
|
|
"Ljava/util/Collection<",
|
|
|
|
"+TT;>;",
|
|
|
|
"Ljava/lang/Iterable<",
|
|
|
|
"+TT;>;)",
|
|
|
|
"Ljava/util/List<",
|
|
|
|
"TT;>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 v0, 0x0
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p0, :cond_2
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p1, :cond_1
|
2019-10-09 23:16:36 +00:00
|
|
|
|
|
|
|
instance-of v0, p1, Ljava/util/Collection;
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
|
|
|
|
invoke-interface {p0}, Ljava/util/Collection;->size()I
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
check-cast p1, Ljava/util/Collection;
|
|
|
|
|
|
|
|
invoke-interface {p1}, Ljava/util/Collection;->size()I
|
2019-07-31 00:08:31 +00:00
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
add-int/2addr v2, v1
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-direct {v0, v2}, Ljava/util/ArrayList;-><init>(I)V
|
2019-07-31 00:08:31 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, p0}, Ljava/util/ArrayList;->addAll(Ljava/util/Collection;)Z
|
|
|
|
|
|
|
|
invoke-virtual {v0, p1}, Ljava/util/ArrayList;->addAll(Ljava/util/Collection;)Z
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
|
|
|
|
invoke-direct {v0, p0}, Ljava/util/ArrayList;-><init>(Ljava/util/Collection;)V
|
|
|
|
|
2020-04-07 08:23:55 +00:00
|
|
|
invoke-static {v0, p1}, Le/k/a/c/e/p/e;->addAll(Ljava/util/Collection;Ljava/lang/Iterable;)Z
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
return-object v0
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:cond_1
|
|
|
|
const-string p0, "elements"
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
const-string p0, "$this$plus"
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw v0
|
2019-10-09 23:16:36 +00:00
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final plus(Ljava/util/Collection;Ljava/lang/Object;)Ljava/util/List;
|
|
|
|
.locals 2
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<T:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">(",
|
|
|
|
"Ljava/util/Collection<",
|
|
|
|
"+TT;>;TT;)",
|
|
|
|
"Ljava/util/List<",
|
|
|
|
"TT;>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p0, :cond_0
|
2019-10-09 23:16:36 +00:00
|
|
|
|
|
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
|
|
|
|
invoke-interface {p0}, Ljava/util/Collection;->size()I
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
|
|
|
|
invoke-direct {v0, v1}, Ljava/util/ArrayList;-><init>(I)V
|
|
|
|
|
|
|
|
invoke-virtual {v0, p0}, Ljava/util/ArrayList;->addAll(Ljava/util/Collection;)Z
|
|
|
|
|
|
|
|
invoke-virtual {v0, p1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
return-object v0
|
2019-10-28 23:46:47 +00:00
|
|
|
|
|
|
|
:cond_0
|
2019-12-06 03:29:40 +00:00
|
|
|
const-string p0, "$this$plus"
|
2019-10-28 23:46:47 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2019-10-28 23:46:47 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 p0, 0x0
|
2019-10-28 23:46:47 +00:00
|
|
|
|
|
|
|
throw p0
|
|
|
|
.end method
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.method public static final plus(Ljava/util/Map;Ljava/util/Map;)Ljava/util/Map;
|
|
|
|
.locals 1
|
2019-10-09 23:16:36 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
2019-12-06 03:29:40 +00:00
|
|
|
"<K:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
"V:",
|
2019-10-09 23:16:36 +00:00
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">(",
|
2019-12-06 03:29:40 +00:00
|
|
|
"Ljava/util/Map<",
|
|
|
|
"+TK;+TV;>;",
|
|
|
|
"Ljava/util/Map<",
|
|
|
|
"+TK;+TV;>;)",
|
|
|
|
"Ljava/util/Map<",
|
|
|
|
"TK;TV;>;"
|
2019-10-09 23:16:36 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 v0, 0x0
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p0, :cond_1
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p1, :cond_0
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
new-instance v0, Ljava/util/LinkedHashMap;
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-direct {v0, p0}, Ljava/util/LinkedHashMap;-><init>(Ljava/util/Map;)V
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-virtual {v0, p1}, Ljava/util/LinkedHashMap;->putAll(Ljava/util/Map;)V
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
return-object v0
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:cond_0
|
|
|
|
const-string p0, "map"
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
throw v0
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:cond_1
|
|
|
|
const-string p0, "$this$plus"
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
throw v0
|
2019-10-09 23:16:36 +00:00
|
|
|
.end method
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.method public static final plus(Ljava/util/Map;Lkotlin/Pair;)Ljava/util/Map;
|
2019-10-09 23:16:36 +00:00
|
|
|
.locals 1
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
2019-12-06 03:29:40 +00:00
|
|
|
"<K:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
"V:",
|
2019-10-09 23:16:36 +00:00
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">(",
|
2019-12-06 03:29:40 +00:00
|
|
|
"Ljava/util/Map<",
|
|
|
|
"+TK;+TV;>;",
|
|
|
|
"Lkotlin/Pair<",
|
|
|
|
"+TK;+TV;>;)",
|
|
|
|
"Ljava/util/Map<",
|
|
|
|
"TK;TV;>;"
|
2019-10-09 23:16:36 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 v0, 0x0
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p0, :cond_2
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p1, :cond_1
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-interface {p0}, Ljava/util/Map;->isEmpty()Z
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
move-result v0
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
2020-04-07 08:23:55 +00:00
|
|
|
invoke-static {p1}, Le/k/a/c/e/p/e;->mapOf(Lkotlin/Pair;)Ljava/util/Map;
|
2019-10-09 23:16:36 +00:00
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
goto :goto_0
|
2019-10-09 23:16:36 +00:00
|
|
|
|
|
|
|
:cond_0
|
2019-12-06 03:29:40 +00:00
|
|
|
new-instance v0, Ljava/util/LinkedHashMap;
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-direct {v0, p0}, Ljava/util/LinkedHashMap;-><init>(Ljava/util/Map;)V
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-virtual {p1}, Lkotlin/Pair;->getFirst()Ljava/lang/Object;
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
move-result-object p0
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-virtual {p1}, Lkotlin/Pair;->getSecond()Ljava/lang/Object;
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
move-result-object p1
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-virtual {v0, p0, p1}, Ljava/util/LinkedHashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
move-object p0, v0
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:goto_0
|
|
|
|
return-object p0
|
2019-10-09 23:16:36 +00:00
|
|
|
|
|
|
|
:cond_1
|
2019-12-06 03:29:40 +00:00
|
|
|
const-string p0, "pair"
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
throw v0
|
2019-10-09 23:16:36 +00:00
|
|
|
|
|
|
|
:cond_2
|
2019-12-06 03:29:40 +00:00
|
|
|
const-string p0, "$this$plus"
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
throw v0
|
2019-10-09 23:16:36 +00:00
|
|
|
.end method
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.method public static final putAll(Ljava/util/Map;[Lkotlin/Pair;)V
|
|
|
|
.locals 4
|
2019-10-09 23:16:36 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
2019-12-06 03:29:40 +00:00
|
|
|
"<K:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
"V:",
|
2019-10-09 23:16:36 +00:00
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">(",
|
2019-12-06 03:29:40 +00:00
|
|
|
"Ljava/util/Map<",
|
|
|
|
"-TK;-TV;>;[",
|
|
|
|
"Lkotlin/Pair<",
|
|
|
|
"+TK;+TV;>;)V"
|
2019-10-09 23:16:36 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 v0, 0x0
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p0, :cond_2
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p1, :cond_1
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
array-length v0, p1
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 v1, 0x0
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:goto_0
|
|
|
|
if-ge v1, v0, :cond_0
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
aget-object v2, p1, v1
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-virtual {v2}, Lkotlin/Pair;->component1()Ljava/lang/Object;
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
move-result-object v3
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-virtual {v2}, Lkotlin/Pair;->component2()Ljava/lang/Object;
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
move-result-object v2
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-interface {p0, v3, v2}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
add-int/lit8 v1, v1, 0x1
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
goto :goto_0
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:cond_0
|
|
|
|
return-void
|
2019-10-09 23:16:36 +00:00
|
|
|
|
|
|
|
:cond_1
|
2019-12-06 03:29:40 +00:00
|
|
|
const-string p0, "pairs"
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
throw v0
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:cond_2
|
|
|
|
const-string p0, "$this$putAll"
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw v0
|
2019-10-09 23:16:36 +00:00
|
|
|
.end method
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.method public static final reversed(Ljava/lang/Iterable;)Ljava/util/List;
|
|
|
|
.locals 3
|
2019-10-09 23:16:36 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<T:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">(",
|
2019-12-06 03:29:40 +00:00
|
|
|
"Ljava/lang/Iterable<",
|
|
|
|
"+TT;>;)",
|
2019-10-09 23:16:36 +00:00
|
|
|
"Ljava/util/List<",
|
|
|
|
"TT;>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 v0, 0x0
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p0, :cond_2
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
instance-of v1, p0, Ljava/util/Collection;
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz v1, :cond_0
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
move-object v1, p0
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
check-cast v1, Ljava/util/Collection;
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-interface {v1}, Ljava/util/Collection;->size()I
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
move-result v1
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 v2, 0x1
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-gt v1, v2, :cond_0
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/q/l;->toList(Ljava/lang/Iterable;)Ljava/util/List;
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
move-result-object p0
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
return-object p0
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:cond_0
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/q/l;->toMutableList(Ljava/lang/Iterable;)Ljava/util/List;
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
move-result-object p0
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p0, :cond_1
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-static {p0}, Ljava/util/Collections;->reverse(Ljava/util/List;)V
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
return-object p0
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:cond_1
|
|
|
|
const-string p0, "$this$reverse"
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
throw v0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:cond_2
|
|
|
|
const-string p0, "$this$reversed"
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
throw v0
|
2019-07-31 00:08:31 +00:00
|
|
|
.end method
|
|
|
|
|
2020-01-11 03:15:11 +00:00
|
|
|
.method public static final slice(Ljava/util/List;Lkotlin/ranges/IntRange;)Ljava/util/List;
|
|
|
|
.locals 1
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<T:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">(",
|
|
|
|
"Ljava/util/List<",
|
|
|
|
"+TT;>;",
|
|
|
|
"Lkotlin/ranges/IntRange;",
|
|
|
|
")",
|
|
|
|
"Ljava/util/List<",
|
|
|
|
"TT;>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_2
|
|
|
|
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Lkotlin/ranges/IntRange;->isEmpty()Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
sget-object p0, Ly/q/o;->d:Ly/q/o;
|
2020-01-11 03:15:11 +00:00
|
|
|
|
|
|
|
return-object p0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
invoke-virtual {p1}, Lkotlin/ranges/IntRange;->getStart()Ljava/lang/Integer;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Lkotlin/ranges/IntRange;->getEndInclusive()Ljava/lang/Integer;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Ljava/lang/Integer;->intValue()I
|
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
add-int/lit8 p1, p1, 0x1
|
|
|
|
|
|
|
|
invoke-interface {p0, v0, p1}, Ljava/util/List;->subList(II)Ljava/util/List;
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/q/l;->toList(Ljava/lang/Iterable;)Ljava/util/List;
|
2020-01-11 03:15:11 +00:00
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const-string p0, "indices"
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2020-01-11 03:15:11 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
const-string p0, "$this$slice"
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2020-01-11 03:15:11 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
.end method
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
.method public static final sorted(Ljava/lang/Iterable;)Ljava/util/List;
|
|
|
|
.locals 3
|
2019-07-31 00:08:31 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
2019-10-09 23:16:36 +00:00
|
|
|
"<T::",
|
|
|
|
"Ljava/lang/Comparable<",
|
|
|
|
"-TT;>;>(",
|
2019-07-31 00:08:31 +00:00
|
|
|
"Ljava/lang/Iterable<",
|
2019-10-09 23:16:36 +00:00
|
|
|
"+TT;>;)",
|
2019-07-31 00:08:31 +00:00
|
|
|
"Ljava/util/List<",
|
|
|
|
"TT;>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p0, :cond_3
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
instance-of v0, p0, Ljava/util/Collection;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz v0, :cond_2
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-object v0, p0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
check-cast v0, Ljava/util/Collection;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-interface {v0}, Ljava/util/Collection;->size()I
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result v1
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
const/4 v2, 0x1
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
if-gt v1, v2, :cond_0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/q/l;->toList(Ljava/lang/Iterable;)Ljava/util/List;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result-object p0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
|
|
|
return-object p0
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
:cond_0
|
|
|
|
const/4 p0, 0x0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
new-array p0, p0, [Ljava/lang/Comparable;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-interface {v0, p0}, Ljava/util/Collection;->toArray([Ljava/lang/Object;)[Ljava/lang/Object;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result-object p0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
if-eqz p0, :cond_1
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
check-cast p0, [Ljava/lang/Comparable;
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2020-04-07 08:23:55 +00:00
|
|
|
invoke-static {p0}, Le/k/a/c/e/p/e;->sort([Ljava/lang/Object;)V
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2020-04-07 08:23:55 +00:00
|
|
|
invoke-static {p0}, Le/k/a/c/e/p/e;->asList([Ljava/lang/Object;)Ljava/util/List;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
:cond_1
|
2020-03-27 22:23:51 +00:00
|
|
|
new-instance p0, Ly/l;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const-string v0, "null cannot be cast to non-null type kotlin.Array<T>"
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-direct {p0, v0}, Ly/l;-><init>(Ljava/lang/String;)V
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
throw p0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
:cond_2
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/q/l;->toMutableList(Ljava/lang/Iterable;)Ljava/util/List;
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
move-result-object p0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2020-04-07 08:23:55 +00:00
|
|
|
invoke-static {p0}, Le/k/a/c/e/p/e;->sort(Ljava/util/List;)V
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
return-object p0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:cond_3
|
|
|
|
const-string p0, "$this$sorted"
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 p0, 0x0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
throw p0
|
2019-10-09 23:16:36 +00:00
|
|
|
.end method
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
.method public static final sortedWith(Ljava/lang/Iterable;Ljava/util/Comparator;)Ljava/util/List;
|
|
|
|
.locals 3
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<T:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">(",
|
|
|
|
"Ljava/lang/Iterable<",
|
|
|
|
"+TT;>;",
|
|
|
|
"Ljava/util/Comparator<",
|
|
|
|
"-TT;>;)",
|
|
|
|
"Ljava/util/List<",
|
|
|
|
"TT;>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 v0, 0x0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p0, :cond_4
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p1, :cond_3
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
instance-of v0, p0, Ljava/util/Collection;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz v0, :cond_2
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-object v0, p0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
check-cast v0, Ljava/util/Collection;
|
|
|
|
|
|
|
|
invoke-interface {v0}, Ljava/util/Collection;->size()I
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
const/4 v2, 0x1
|
|
|
|
|
|
|
|
if-gt v1, v2, :cond_0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/q/l;->toList(Ljava/lang/Iterable;)Ljava/util/List;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
:cond_0
|
|
|
|
const/4 p0, 0x0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
new-array p0, p0, [Ljava/lang/Object;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-interface {v0, p0}, Ljava/util/Collection;->toArray([Ljava/lang/Object;)[Ljava/lang/Object;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result-object p0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
if-eqz p0, :cond_1
|
|
|
|
|
2020-04-07 08:23:55 +00:00
|
|
|
invoke-static {p0, p1}, Le/k/a/c/e/p/e;->sortWith([Ljava/lang/Object;Ljava/util/Comparator;)V
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2020-04-07 08:23:55 +00:00
|
|
|
invoke-static {p0}, Le/k/a/c/e/p/e;->asList([Ljava/lang/Object;)Ljava/util/List;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
return-object p0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
:cond_1
|
2020-03-27 22:23:51 +00:00
|
|
|
new-instance p0, Ly/l;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
const-string p1, "null cannot be cast to non-null type kotlin.Array<T>"
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-direct {p0, p1}, Ly/l;-><init>(Ljava/lang/String;)V
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
throw p0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
:cond_2
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/q/l;->toMutableList(Ljava/lang/Iterable;)Ljava/util/List;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
move-result-object p0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2020-04-07 08:23:55 +00:00
|
|
|
invoke-static {p0, p1}, Le/k/a/c/e/p/e;->sortWith(Ljava/util/List;Ljava/util/Comparator;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
return-object p0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
:cond_3
|
2019-12-06 03:29:40 +00:00
|
|
|
const-string p0, "comparator"
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
throw v0
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:cond_4
|
|
|
|
const-string p0, "$this$sortedWith"
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw v0
|
2019-07-31 00:08:31 +00:00
|
|
|
.end method
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
.method public static final sumOfFloat(Ljava/lang/Iterable;)F
|
|
|
|
.locals 2
|
2019-07-31 00:08:31 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
2019-10-09 23:16:36 +00:00
|
|
|
"(",
|
|
|
|
"Ljava/lang/Iterable<",
|
|
|
|
"Ljava/lang/Float;",
|
|
|
|
">;)F"
|
2019-07-31 00:08:31 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p0, :cond_1
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 v0, 0x0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-interface {p0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result-object p0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
:goto_0
|
|
|
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result v1
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
if-eqz v1, :cond_0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result-object v1
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
check-cast v1, Ljava/lang/Number;
|
|
|
|
|
|
|
|
invoke-virtual {v1}, Ljava/lang/Number;->floatValue()F
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
add-float/2addr v0, v1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
return v0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:cond_1
|
|
|
|
const-string p0, "$this$sum"
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 p0, 0x0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
throw p0
|
2019-07-31 00:08:31 +00:00
|
|
|
.end method
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.method public static final sumOfInt(Ljava/lang/Iterable;)I
|
|
|
|
.locals 2
|
2019-07-31 00:08:31 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
2019-10-09 23:16:36 +00:00
|
|
|
"Ljava/lang/Iterable<",
|
2019-12-06 03:29:40 +00:00
|
|
|
"Ljava/lang/Integer;",
|
|
|
|
">;)I"
|
2019-07-31 00:08:31 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p0, :cond_1
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 v0, 0x0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-interface {p0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
move-result v1
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz v1, :cond_0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
|
|
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
move-result-object v1
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
check-cast v1, Ljava/lang/Number;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-virtual {v1}, Ljava/lang/Number;->intValue()I
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
move-result v1
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
add-int/2addr v0, v1
|
2019-07-31 00:08:31 +00:00
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
2019-12-06 03:29:40 +00:00
|
|
|
return v0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const-string p0, "$this$sum"
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
const/4 p0, 0x0
|
|
|
|
|
|
|
|
throw p0
|
2019-07-31 00:08:31 +00:00
|
|
|
.end method
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
.method public static final take(Ljava/lang/Iterable;I)Ljava/util/List;
|
|
|
|
.locals 4
|
2019-07-31 00:08:31 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<T:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">(",
|
2019-10-09 23:16:36 +00:00
|
|
|
"Ljava/lang/Iterable<",
|
|
|
|
"+TT;>;I)",
|
2019-07-31 00:08:31 +00:00
|
|
|
"Ljava/util/List<",
|
|
|
|
"TT;>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p0, :cond_7
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
const/4 v0, 0x0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
const/4 v1, 0x1
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
if-ltz p1, :cond_0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
const/4 v2, 0x1
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
goto :goto_0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
:cond_0
|
|
|
|
const/4 v2, 0x0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
:goto_0
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz v2, :cond_6
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
if-nez p1, :cond_1
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
sget-object p0, Ly/q/o;->d:Ly/q/o;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
|
|
|
return-object p0
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
:cond_1
|
|
|
|
instance-of v2, p0, Ljava/util/Collection;
|
|
|
|
|
|
|
|
if-eqz v2, :cond_3
|
|
|
|
|
|
|
|
move-object v2, p0
|
|
|
|
|
|
|
|
check-cast v2, Ljava/util/Collection;
|
|
|
|
|
|
|
|
invoke-interface {v2}, Ljava/util/Collection;->size()I
|
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
|
|
|
if-lt p1, v2, :cond_2
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/q/l;->toList(Ljava/lang/Iterable;)Ljava/util/List;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
return-object p0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
:cond_2
|
|
|
|
if-ne p1, v1, :cond_3
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/q/l;->first(Ljava/lang/Iterable;)Ljava/lang/Object;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result-object p0
|
|
|
|
|
2020-04-07 08:23:55 +00:00
|
|
|
invoke-static {p0}, Le/k/a/c/e/p/e;->listOf(Ljava/lang/Object;)Ljava/util/List;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
:cond_3
|
2019-12-06 03:29:40 +00:00
|
|
|
new-instance v2, Ljava/util/ArrayList;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-direct {v2, p1}, Ljava/util/ArrayList;-><init>(I)V
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-interface {p0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result-object p0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:cond_4
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
move-result v3
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz v3, :cond_5
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
move-result-object v3
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-virtual {v2, v3}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
add-int/2addr v0, v1
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-ne v0, p1, :cond_4
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:cond_5
|
2020-04-07 08:23:55 +00:00
|
|
|
invoke-static {v2}, Le/k/a/c/e/p/e;->optimizeReadOnlyList(Ljava/util/List;)Ljava/util/List;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
return-object p0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:cond_6
|
|
|
|
const-string p0, "Requested element count "
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const-string v0, " is less than zero."
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-static {p0, p1, v0}, Le/e/b/a/a;->a(Ljava/lang/String;ILjava/lang/String;)Ljava/lang/String;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result-object p0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-virtual {p0}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result-object p0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-direct {p1, p0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
throw p1
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
:cond_7
|
|
|
|
const-string p0, "$this$take"
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
const/4 p0, 0x0
|
|
|
|
|
|
|
|
throw p0
|
2019-07-31 00:08:31 +00:00
|
|
|
.end method
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
.method public static final takeLast(Ljava/util/List;I)Ljava/util/List;
|
|
|
|
.locals 3
|
2019-07-31 00:08:31 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<T:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">(",
|
2019-10-09 23:16:36 +00:00
|
|
|
"Ljava/util/List<",
|
|
|
|
"+TT;>;I)",
|
2019-07-31 00:08:31 +00:00
|
|
|
"Ljava/util/List<",
|
|
|
|
"TT;>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p0, :cond_7
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
const/4 v0, 0x1
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
if-ltz p1, :cond_0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
const/4 v1, 0x1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
if-eqz v1, :cond_6
|
|
|
|
|
|
|
|
if-nez p1, :cond_1
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
sget-object p0, Ly/q/o;->d:Ly/q/o;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
return-object p0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
invoke-interface {p0}, Ljava/util/List;->size()I
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
if-lt p1, v1, :cond_2
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/q/l;->toList(Ljava/lang/Iterable;)Ljava/util/List;
|
2019-10-09 23:16:36 +00:00
|
|
|
|
|
|
|
move-result-object p0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
|
|
|
return-object p0
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
:cond_2
|
|
|
|
if-ne p1, v0, :cond_3
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/q/l;->last(Ljava/util/List;)Ljava/lang/Object;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result-object p0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2020-04-07 08:23:55 +00:00
|
|
|
invoke-static {p0}, Le/k/a/c/e/p/e;->listOf(Ljava/lang/Object;)Ljava/util/List;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result-object p0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
return-object p0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
:cond_3
|
|
|
|
new-instance v0, Ljava/util/ArrayList;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-direct {v0, p1}, Ljava/util/ArrayList;-><init>(I)V
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
instance-of v2, p0, Ljava/util/RandomAccess;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
if-eqz v2, :cond_4
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
sub-int p1, v1, p1
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
if-ge p1, v1, :cond_5
|
|
|
|
|
|
|
|
invoke-interface {p0, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
invoke-virtual {v0, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
add-int/lit8 p1, p1, 0x1
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
sub-int/2addr v1, p1
|
|
|
|
|
|
|
|
invoke-interface {p0, v1}, Ljava/util/List;->listIterator(I)Ljava/util/ListIterator;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
:goto_2
|
|
|
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result p1
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
if-eqz p1, :cond_5
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result-object p1
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-virtual {v0, p1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
goto :goto_2
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
:cond_5
|
|
|
|
return-object v0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
:cond_6
|
2019-12-06 03:29:40 +00:00
|
|
|
const-string p0, "Requested element count "
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const-string v0, " is less than zero."
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-static {p0, p1, v0}, Le/e/b/a/a;->a(Ljava/lang/String;ILjava/lang/String;)Ljava/lang/String;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result-object p0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-virtual {p0}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-direct {p1, p0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
throw p1
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
:cond_7
|
|
|
|
const-string p0, "$this$takeLast"
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
const/4 p0, 0x0
|
|
|
|
|
|
|
|
throw p0
|
2019-10-09 23:16:36 +00:00
|
|
|
.end method
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
.method public static final toCollection(Ljava/lang/Iterable;Ljava/util/Collection;)Ljava/util/Collection;
|
|
|
|
.locals 1
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<T:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
"C::",
|
|
|
|
"Ljava/util/Collection<",
|
|
|
|
"-TT;>;>(",
|
|
|
|
"Ljava/lang/Iterable<",
|
|
|
|
"+TT;>;TC;)TC;"
|
|
|
|
}
|
|
|
|
.end annotation
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 v0, 0x0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p0, :cond_2
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p1, :cond_1
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-interface {p0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result-object p0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
:goto_0
|
|
|
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result v0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
if-eqz v0, :cond_0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result-object v0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-interface {p1, v0}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
goto :goto_0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
:cond_0
|
|
|
|
return-object p1
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const-string p0, "destination"
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
const-string p0, "$this$toCollection"
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw v0
|
2019-07-31 00:08:31 +00:00
|
|
|
.end method
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
.method public static final toHashSet(Ljava/lang/Iterable;)Ljava/util/HashSet;
|
2019-07-31 00:08:31 +00:00
|
|
|
.locals 2
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<T:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">(",
|
|
|
|
"Ljava/lang/Iterable<",
|
|
|
|
"+TT;>;)",
|
|
|
|
"Ljava/util/HashSet<",
|
|
|
|
"TT;>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p0, :cond_0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
|
|
|
new-instance v0, Ljava/util/HashSet;
|
|
|
|
|
|
|
|
const/16 v1, 0xc
|
|
|
|
|
2020-04-07 08:23:55 +00:00
|
|
|
invoke-static {p0, v1}, Le/k/a/c/e/p/e;->collectionSizeOrDefault(Ljava/lang/Iterable;I)I
|
2019-07-31 00:08:31 +00:00
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {v1}, Ly/q/l;->mapCapacity(I)I
|
2019-07-31 00:08:31 +00:00
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
invoke-direct {v0, v1}, Ljava/util/HashSet;-><init>(I)V
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0, v0}, Ly/q/l;->toCollection(Ljava/lang/Iterable;Ljava/util/Collection;)Ljava/util/Collection;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
check-cast v0, Ljava/util/HashSet;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
return-object v0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string p0, "$this$toHashSet"
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 p0, 0x0
|
|
|
|
|
|
|
|
throw p0
|
2019-07-31 00:08:31 +00:00
|
|
|
.end method
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
.method public static final toIntArray(Ljava/util/Collection;)[I
|
|
|
|
.locals 4
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
|
|
|
"Ljava/util/Collection<",
|
|
|
|
"Ljava/lang/Integer;",
|
|
|
|
">;)[I"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p0, :cond_1
|
2019-10-09 23:16:36 +00:00
|
|
|
|
|
|
|
invoke-interface {p0}, Ljava/util/Collection;->size()I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
new-array v0, v0, [I
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 v1, 0x0
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-interface {p0}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
|
|
|
if-eqz v2, :cond_0
|
|
|
|
|
|
|
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
check-cast v2, Ljava/lang/Number;
|
|
|
|
|
|
|
|
invoke-virtual {v2}, Ljava/lang/Number;->intValue()I
|
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
|
|
|
add-int/lit8 v3, v1, 0x1
|
|
|
|
|
|
|
|
aput v2, v0, v1
|
|
|
|
|
|
|
|
move v1, v3
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
return-object v0
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const-string p0, "$this$toIntArray"
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
const/4 p0, 0x0
|
|
|
|
|
|
|
|
throw p0
|
2019-10-09 23:16:36 +00:00
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final toList(Ljava/lang/Iterable;)Ljava/util/List;
|
2019-07-31 00:08:31 +00:00
|
|
|
.locals 3
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<T:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">(",
|
|
|
|
"Ljava/lang/Iterable<",
|
|
|
|
"+TT;>;)",
|
|
|
|
"Ljava/util/List<",
|
|
|
|
"TT;>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p0, :cond_4
|
2019-07-31 00:08:31 +00:00
|
|
|
|
|
|
|
instance-of v0, p0, Ljava/util/Collection;
|
|
|
|
|
|
|
|
if-eqz v0, :cond_3
|
|
|
|
|
|
|
|
move-object v0, p0
|
|
|
|
|
|
|
|
check-cast v0, Ljava/util/Collection;
|
|
|
|
|
|
|
|
invoke-interface {v0}, Ljava/util/Collection;->size()I
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
if-eqz v1, :cond_2
|
|
|
|
|
|
|
|
const/4 v2, 0x1
|
|
|
|
|
|
|
|
if-eq v1, v2, :cond_0
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {v0}, Ly/q/l;->toMutableList(Ljava/util/Collection;)Ljava/util/List;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
goto :goto_1
|
2019-07-31 00:08:31 +00:00
|
|
|
|
|
|
|
:cond_0
|
|
|
|
instance-of v0, p0, Ljava/util/List;
|
|
|
|
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
|
|
|
|
check-cast p0, Ljava/util/List;
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
invoke-interface {p0, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
invoke-interface {p0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
:goto_0
|
2020-04-07 08:23:55 +00:00
|
|
|
invoke-static {p0}, Le/k/a/c/e/p/e;->listOf(Ljava/lang/Object;)Ljava/util/List;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
goto :goto_1
|
2019-07-31 00:08:31 +00:00
|
|
|
|
|
|
|
:cond_2
|
2020-03-27 22:23:51 +00:00
|
|
|
sget-object p0, Ly/q/o;->d:Ly/q/o;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:goto_1
|
2019-07-31 00:08:31 +00:00
|
|
|
return-object p0
|
|
|
|
|
|
|
|
:cond_3
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/q/l;->toMutableList(Ljava/lang/Iterable;)Ljava/util/List;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
2020-04-07 08:23:55 +00:00
|
|
|
invoke-static {p0}, Le/k/a/c/e/p/e;->optimizeReadOnlyList(Ljava/util/List;)Ljava/util/List;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
return-object p0
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
:cond_4
|
|
|
|
const-string p0, "$this$toList"
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
const/4 p0, 0x0
|
|
|
|
|
|
|
|
throw p0
|
2019-07-31 00:08:31 +00:00
|
|
|
.end method
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
.method public static final toLongArray(Ljava/util/Collection;)[J
|
|
|
|
.locals 5
|
2019-07-31 00:08:31 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
2019-10-09 23:16:36 +00:00
|
|
|
"(",
|
|
|
|
"Ljava/util/Collection<",
|
|
|
|
"Ljava/lang/Long;",
|
|
|
|
">;)[J"
|
2019-07-31 00:08:31 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p0, :cond_1
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-interface {p0}, Ljava/util/Collection;->size()I
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result v0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
new-array v0, v0, [J
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 v1, 0x0
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-interface {p0}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
:goto_0
|
|
|
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result v2
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
if-eqz v2, :cond_0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result-object v2
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
check-cast v2, Ljava/lang/Number;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-virtual {v2}, Ljava/lang/Number;->longValue()J
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result-wide v2
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
add-int/lit8 v4, v1, 0x1
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
aput-wide v2, v0, v1
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move v1, v4
|
2019-07-31 00:08:31 +00:00
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
:cond_0
|
|
|
|
return-object v0
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const-string p0, "$this$toLongArray"
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
const/4 p0, 0x0
|
|
|
|
|
|
|
|
throw p0
|
2019-10-09 23:16:36 +00:00
|
|
|
.end method
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2020-01-14 05:14:30 +00:00
|
|
|
.method public static final toMap(Ljava/lang/Iterable;Ljava/util/Map;)Ljava/util/Map;
|
|
|
|
.locals 2
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<K:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
"V:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
"M::",
|
|
|
|
"Ljava/util/Map<",
|
|
|
|
"-TK;-TV;>;>(",
|
|
|
|
"Ljava/lang/Iterable<",
|
|
|
|
"+",
|
|
|
|
"Lkotlin/Pair<",
|
|
|
|
"+TK;+TV;>;>;TM;)TM;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_2
|
|
|
|
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
|
|
|
|
invoke-interface {p0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
check-cast v0, Lkotlin/Pair;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Lkotlin/Pair;->component1()Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Lkotlin/Pair;->component2()Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-interface {p1, v1, v0}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
return-object p1
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const-string p0, "destination"
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2020-01-14 05:14:30 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
const-string p0, "$this$toMap"
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2020-01-14 05:14:30 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
.end method
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
.method public static final toMutableList(Ljava/lang/Iterable;)Ljava/util/List;
|
|
|
|
.locals 1
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<T:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">(",
|
|
|
|
"Ljava/lang/Iterable<",
|
|
|
|
"+TT;>;)",
|
|
|
|
"Ljava/util/List<",
|
|
|
|
"TT;>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p0, :cond_1
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
instance-of v0, p0, Ljava/util/Collection;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
if-eqz v0, :cond_0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
check-cast p0, Ljava/util/Collection;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/q/l;->toMutableList(Ljava/util/Collection;)Ljava/util/List;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result-object p0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
|
|
|
return-object p0
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
:cond_0
|
|
|
|
new-instance v0, Ljava/util/ArrayList;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0, v0}, Ly/q/l;->toCollection(Ljava/lang/Iterable;Ljava/util/Collection;)Ljava/util/Collection;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
check-cast v0, Ljava/util/List;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
return-object v0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:cond_1
|
|
|
|
const-string p0, "$this$toMutableList"
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
const/4 p0, 0x0
|
|
|
|
|
|
|
|
throw p0
|
2019-07-31 00:08:31 +00:00
|
|
|
.end method
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
.method public static final toMutableList(Ljava/util/Collection;)Ljava/util/List;
|
2019-07-31 00:08:31 +00:00
|
|
|
.locals 1
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<T:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">(",
|
2019-10-09 23:16:36 +00:00
|
|
|
"Ljava/util/Collection<",
|
2019-07-31 00:08:31 +00:00
|
|
|
"+TT;>;)",
|
|
|
|
"Ljava/util/List<",
|
|
|
|
"TT;>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p0, :cond_0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
new-instance v0, Ljava/util/ArrayList;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-direct {v0, p0}, Ljava/util/ArrayList;-><init>(Ljava/util/Collection;)V
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
return-object v0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string p0, "$this$toMutableList"
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
const/4 p0, 0x0
|
|
|
|
|
|
|
|
throw p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final toMutableMap(Ljava/util/Map;)Ljava/util/Map;
|
|
|
|
.locals 1
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<K:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
"V:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">(",
|
|
|
|
"Ljava/util/Map<",
|
|
|
|
"+TK;+TV;>;)",
|
|
|
|
"Ljava/util/Map<",
|
|
|
|
"TK;TV;>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
new-instance v0, Ljava/util/LinkedHashMap;
|
|
|
|
|
|
|
|
invoke-direct {v0, p0}, Ljava/util/LinkedHashMap;-><init>(Ljava/util/Map;)V
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
return-object v0
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string p0, "$this$toMutableMap"
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
const/4 p0, 0x0
|
|
|
|
|
|
|
|
throw p0
|
2019-07-31 00:08:31 +00:00
|
|
|
.end method
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
.method public static final toMutableSet(Ljava/lang/Iterable;)Ljava/util/Set;
|
2019-07-31 00:08:31 +00:00
|
|
|
.locals 1
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<T:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">(",
|
|
|
|
"Ljava/lang/Iterable<",
|
|
|
|
"+TT;>;)",
|
|
|
|
"Ljava/util/Set<",
|
|
|
|
"TT;>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p0, :cond_1
|
2019-07-31 00:08:31 +00:00
|
|
|
|
|
|
|
instance-of v0, p0, Ljava/util/Collection;
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
new-instance v0, Ljava/util/LinkedHashSet;
|
|
|
|
|
|
|
|
check-cast p0, Ljava/util/Collection;
|
|
|
|
|
|
|
|
invoke-direct {v0, p0}, Ljava/util/LinkedHashSet;-><init>(Ljava/util/Collection;)V
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
goto :goto_0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
|
|
|
:cond_0
|
|
|
|
new-instance v0, Ljava/util/LinkedHashSet;
|
|
|
|
|
|
|
|
invoke-direct {v0}, Ljava/util/LinkedHashSet;-><init>()V
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0, v0}, Ly/q/l;->toCollection(Ljava/lang/Iterable;Ljava/util/Collection;)Ljava/util/Collection;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
check-cast v0, Ljava/util/Set;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:goto_0
|
|
|
|
return-object v0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:cond_1
|
|
|
|
const-string p0, "$this$toMutableSet"
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
const/4 p0, 0x0
|
|
|
|
|
|
|
|
throw p0
|
2019-07-31 00:08:31 +00:00
|
|
|
.end method
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
.method public static final toSet(Ljava/lang/Iterable;)Ljava/util/Set;
|
2019-07-31 00:08:31 +00:00
|
|
|
.locals 3
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
2019-10-09 23:16:36 +00:00
|
|
|
"<T:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">(",
|
2019-07-31 00:08:31 +00:00
|
|
|
"Ljava/lang/Iterable<",
|
2019-10-09 23:16:36 +00:00
|
|
|
"+TT;>;)",
|
|
|
|
"Ljava/util/Set<",
|
|
|
|
"TT;>;"
|
2019-07-31 00:08:31 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2020-03-14 04:13:36 +00:00
|
|
|
if-eqz p0, :cond_4
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
instance-of v0, p0, Ljava/util/Collection;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
if-eqz v0, :cond_3
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-object v0, p0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
check-cast v0, Ljava/util/Collection;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-interface {v0}, Ljava/util/Collection;->size()I
|
2019-07-31 00:08:31 +00:00
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
if-eqz v1, :cond_2
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
const/4 v2, 0x1
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
if-eq v1, v2, :cond_0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
new-instance v1, Ljava/util/LinkedHashSet;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-interface {v0}, Ljava/util/Collection;->size()I
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result v0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {v0}, Ly/q/l;->mapCapacity(I)I
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result v0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-direct {v1, v0}, Ljava/util/LinkedHashSet;-><init>(I)V
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0, v1}, Ly/q/l;->toCollection(Ljava/lang/Iterable;Ljava/util/Collection;)Ljava/util/Collection;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2020-03-14 04:13:36 +00:00
|
|
|
check-cast v1, Ljava/util/Set;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
goto :goto_1
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
:cond_0
|
|
|
|
instance-of v0, p0, Ljava/util/List;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
if-eqz v0, :cond_1
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
check-cast p0, Ljava/util/List;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
const/4 v0, 0x0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-interface {p0, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
goto :goto_0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
:cond_1
|
|
|
|
invoke-interface {p0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result-object p0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
|
|
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result-object p0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
:goto_0
|
2020-04-07 08:23:55 +00:00
|
|
|
invoke-static {p0}, Le/k/a/c/e/p/e;->setOf(Ljava/lang/Object;)Ljava/util/Set;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2020-03-14 04:13:36 +00:00
|
|
|
move-result-object v1
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
goto :goto_1
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
:cond_2
|
2020-03-27 22:23:51 +00:00
|
|
|
sget-object v1, Ly/q/q;->d:Ly/q/q;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:goto_1
|
2020-03-14 04:13:36 +00:00
|
|
|
return-object v1
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
:cond_3
|
|
|
|
new-instance v0, Ljava/util/LinkedHashSet;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-direct {v0}, Ljava/util/LinkedHashSet;-><init>()V
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0, v0}, Ly/q/l;->toCollection(Ljava/lang/Iterable;Ljava/util/Collection;)Ljava/util/Collection;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
2020-03-14 04:13:36 +00:00
|
|
|
check-cast v0, Ljava/util/Set;
|
2020-03-10 23:21:53 +00:00
|
|
|
|
2020-04-07 08:23:55 +00:00
|
|
|
invoke-static {v0}, Le/k/a/c/e/p/e;->optimizeReadOnlySet(Ljava/util/Set;)Ljava/util/Set;
|
2020-03-10 23:21:53 +00:00
|
|
|
|
2020-03-14 02:12:46 +00:00
|
|
|
move-result-object p0
|
2020-03-10 23:21:53 +00:00
|
|
|
|
2020-03-14 02:12:46 +00:00
|
|
|
return-object p0
|
2020-03-14 04:13:36 +00:00
|
|
|
|
|
|
|
:cond_4
|
|
|
|
const-string p0, "$this$toSet"
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
2020-03-14 04:13:36 +00:00
|
|
|
|
|
|
|
const/4 p0, 0x0
|
|
|
|
|
|
|
|
throw p0
|
2019-07-31 00:08:31 +00:00
|
|
|
.end method
|