apkfuckery/com.discord/smali_classes2/y/h/f.smali

4567 lines
102 KiB
Smali
Raw Normal View History

2020-11-16 22:05:17 +00:00
.class public Ly/h/f;
.super Ly/h/e;
2020-11-12 02:11:44 +00:00
.source "_ArraysJvm.kt"
# direct methods
2020-11-16 22:05:17 +00:00
.method public static final a(Ljava/lang/Iterable;Lkotlin/jvm/functions/Function1;Z)Z
.locals 2
2020-11-12 02:11:44 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
2020-11-16 22:05:17 +00:00
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/Iterable<",
"+TT;>;",
"Lkotlin/jvm/functions/Function1<",
"-TT;",
"Ljava/lang/Boolean;",
">;Z)Z"
2020-11-12 02:11:44 +00:00
}
.end annotation
2020-11-16 22:05:17 +00:00
invoke-interface {p0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
move-result-object p0
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
const/4 v0, 0x0
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
:cond_0
:goto_0
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
move-result v1
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
if-eqz v1, :cond_1
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
move-result-object v1
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-interface {p1, v1}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
move-result-object v1
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
check-cast v1, Ljava/lang/Boolean;
2020-11-14 02:19:59 +00:00
2020-11-16 22:05:17 +00:00
invoke-virtual {v1}, Ljava/lang/Boolean;->booleanValue()Z
2020-11-16 01:00:50 +00:00
2020-11-16 22:05:17 +00:00
move-result v1
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
if-ne v1, p2, :cond_0
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-interface {p0}, Ljava/util/Iterator;->remove()V
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
const/4 v0, 0x1
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
goto :goto_0
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
:cond_1
return v0
2020-11-12 02:11:44 +00:00
.end method
2020-11-16 22:05:17 +00:00
.method public static final access$reverseElementIndex(Ljava/util/List;I)I
.locals 3
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-static {p0}, Ly/h/f;->getLastIndex(Ljava/util/List;)I
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
move-result v0
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
if-ltz p1, :cond_0
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
if-lt v0, p1, :cond_0
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-static {p0}, Ly/h/f;->getLastIndex(Ljava/util/List;)I
2020-11-13 19:18:44 +00:00
2020-11-16 01:00:50 +00:00
move-result p0
2020-11-14 03:19:56 +00:00
2020-11-16 22:05:17 +00:00
sub-int/2addr p0, p1
2020-11-12 02:11:44 +00:00
return p0
:cond_0
2020-11-16 22:05:17 +00:00
new-instance v0, Ljava/lang/IndexOutOfBoundsException;
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
const-string v1, "Element index "
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
const-string v2, " must be in range ["
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-static {v1, p1, v2}, Lf/e/c/a/a;->H(Ljava/lang/String;ILjava/lang/String;)Ljava/lang/StringBuilder;
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
move-result-object p1
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
const/4 v1, 0x0
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
new-instance v2, Lkotlin/ranges/IntRange;
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-static {p0}, Ly/h/f;->getLastIndex(Ljava/util/List;)I
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
move-result p0
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-direct {v2, v1, p0}, Lkotlin/ranges/IntRange;-><init>(II)V
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-virtual {p1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
const-string p0, "]."
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-virtual {p1, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
move-result-object p0
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-direct {v0, p0}, Ljava/lang/IndexOutOfBoundsException;-><init>(Ljava/lang/String;)V
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
throw v0
.end method
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
.method public static final addAll(Ljava/util/Collection;Ljava/lang/Iterable;)Z
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/util/Collection<",
"-TT;>;",
"Ljava/lang/Iterable<",
"+TT;>;)Z"
}
.end annotation
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
const-string v0, "$this$addAll"
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
const-string v0, "elements"
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-static {p1, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
instance-of v0, p1, Ljava/util/Collection;
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
if-eqz v0, :cond_0
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
check-cast p1, Ljava/util/Collection;
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-interface {p0, p1}, Ljava/util/Collection;->addAll(Ljava/util/Collection;)Z
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
move-result p0
2020-11-13 19:18:44 +00:00
2020-11-16 22:05:17 +00:00
return p0
2020-11-12 02:11:44 +00:00
2020-11-16 01:00:50 +00:00
:cond_0
2020-11-16 22:05:17 +00:00
const/4 v0, 0x0
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-interface {p1}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
move-result-object p1
2020-11-12 02:11:44 +00:00
2020-11-16 01:00:50 +00:00
:cond_1
2020-11-16 22:05:17 +00:00
:goto_0
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
move-result v1
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
if-eqz v1, :cond_2
2020-11-14 03:19:56 +00:00
2020-11-16 22:05:17 +00:00
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
move-result-object v1
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-interface {p0, v1}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
move-result v1
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
if-eqz v1, :cond_1
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
const/4 v0, 0x1
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
goto :goto_0
:cond_2
return v0
2020-11-16 01:00:50 +00:00
.end method
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
.method public static final addAll(Ljava/util/Collection;Lkotlin/sequences/Sequence;)Z
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/util/Collection<",
"-TT;>;",
"Lkotlin/sequences/Sequence<",
"+TT;>;)Z"
}
.end annotation
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
const-string v0, "$this$addAll"
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
const-string v0, "elements"
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-static {p1, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-interface {p1}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
2020-11-13 19:18:44 +00:00
2020-11-16 22:05:17 +00:00
move-result-object p1
2020-11-14 02:19:59 +00:00
2020-11-16 22:05:17 +00:00
const/4 v0, 0x0
2020-11-14 02:19:59 +00:00
2020-11-16 22:05:17 +00:00
:cond_0
:goto_0
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
2020-11-14 02:19:59 +00:00
2020-11-16 22:05:17 +00:00
move-result v1
2020-11-14 02:19:59 +00:00
2020-11-16 22:05:17 +00:00
if-eqz v1, :cond_1
2020-11-14 02:19:59 +00:00
2020-11-16 22:05:17 +00:00
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
2020-11-14 03:19:56 +00:00
2020-11-16 22:05:17 +00:00
move-result-object v1
2020-11-16 01:00:50 +00:00
2020-11-16 22:05:17 +00:00
invoke-interface {p0, v1}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
2020-11-16 01:00:50 +00:00
2020-11-16 22:05:17 +00:00
move-result v1
2020-11-16 01:00:50 +00:00
2020-11-16 22:05:17 +00:00
if-eqz v1, :cond_0
2020-11-16 01:00:50 +00:00
2020-11-16 22:05:17 +00:00
const/4 v0, 0x1
2020-11-16 01:00:50 +00:00
2020-11-16 22:05:17 +00:00
goto :goto_0
:cond_1
return v0
2020-11-12 02:11:44 +00:00
.end method
2020-11-16 22:05:17 +00:00
.method public static final addAll(Ljava/util/Collection;[Ljava/lang/Object;)Z
2020-11-12 02:11:44 +00:00
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
2020-11-16 22:05:17 +00:00
"Ljava/util/Collection<",
"-TT;>;[TT;)Z"
2020-11-12 02:11:44 +00:00
}
.end annotation
2020-11-16 22:05:17 +00:00
const-string v0, "$this$addAll"
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
const-string v0, "elements"
2020-11-13 19:18:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-static {p1, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-13 19:18:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-static {p1}, Ly/h/f;->asList([Ljava/lang/Object;)Ljava/util/List;
2020-11-14 03:19:56 +00:00
2020-11-16 22:05:17 +00:00
move-result-object p1
2020-11-14 03:19:56 +00:00
2020-11-16 22:05:17 +00:00
invoke-interface {p0, p1}, Ljava/util/Collection;->addAll(Ljava/util/Collection;)Z
move-result p0
return p0
2020-11-12 02:11:44 +00:00
.end method
2020-11-16 22:05:17 +00:00
.method public static final varargs arrayListOf([Ljava/lang/Object;)Ljava/util/ArrayList;
.locals 3
2020-11-12 02:11:44 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
2020-11-16 22:05:17 +00:00
">([TT;)",
"Ljava/util/ArrayList<",
2020-11-12 02:11:44 +00:00
"TT;>;"
}
.end annotation
2020-11-16 22:05:17 +00:00
const-string v0, "elements"
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
array-length v0, p0
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
if-nez v0, :cond_0
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
new-instance p0, Ljava/util/ArrayList;
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-direct {p0}, Ljava/util/ArrayList;-><init>()V
2020-11-12 02:11:44 +00:00
goto :goto_0
:cond_0
2020-11-16 22:05:17 +00:00
new-instance v0, Ljava/util/ArrayList;
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
new-instance v1, Ly/h/d;
const/4 v2, 0x1
invoke-direct {v1, p0, v2}, Ly/h/d;-><init>([Ljava/lang/Object;Z)V
invoke-direct {v0, v1}, Ljava/util/ArrayList;-><init>(Ljava/util/Collection;)V
move-object p0, v0
:goto_0
return-object p0
.end method
.method public static final asList([B)Ljava/util/List;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"([B)",
"Ljava/util/List<",
"Ljava/lang/Byte;",
">;"
}
.end annotation
const-string v0, "$this$asList"
invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
new-instance v0, Ly/h/f$a;
invoke-direct {v0, p0}, Ly/h/f$a;-><init>([B)V
return-object v0
.end method
.method public static final asList([Ljava/lang/Object;)Ljava/util/List;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">([TT;)",
"Ljava/util/List<",
"TT;>;"
}
.end annotation
const-string v0, "$this$asList"
invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
invoke-static {p0}, Ljava/util/Arrays;->asList([Ljava/lang/Object;)Ljava/util/List;
move-result-object p0
const-string v0, "ArraysUtilJVM.asList(this)"
invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
return-object p0
.end method
.method public static final asReversed(Ljava/util/List;)Ljava/util/List;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/util/List<",
"+TT;>;)",
"Ljava/util/List<",
"TT;>;"
}
.end annotation
const-string v0, "$this$asReversed"
invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
new-instance v0, Ly/h/r;
invoke-direct {v0, p0}, Ly/h/r;-><init>(Ljava/util/List;)V
return-object v0
.end method
.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
const-string v0, "$this$asSequence"
invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
new-instance v0, Ly/h/i;
invoke-direct {v0, p0}, Ly/h/i;-><init>(Ljava/lang/Iterable;)V
return-object v0
.end method
.method public static final asSequence(Ljava/util/Map;)Lkotlin/sequences/Sequence;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<K:",
"Ljava/lang/Object;",
"V:",
"Ljava/lang/Object;",
">(",
"Ljava/util/Map<",
"+TK;+TV;>;)",
"Lkotlin/sequences/Sequence<",
"Ljava/util/Map$Entry<",
"TK;TV;>;>;"
}
.end annotation
const-string v0, "$this$asSequence"
invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
invoke-interface {p0}, Ljava/util/Map;->entrySet()Ljava/util/Set;
move-result-object p0
invoke-static {p0}, Ly/h/f;->asSequence(Ljava/lang/Iterable;)Lkotlin/sequences/Sequence;
move-result-object p0
return-object p0
.end method
.method public static final contains(Ljava/lang/Iterable;Ljava/lang/Object;)Z
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/Iterable<",
"+TT;>;TT;)Z"
}
.end annotation
const-string v0, "$this$contains"
invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
instance-of v0, p0, Ljava/util/Collection;
if-eqz v0, :cond_0
check-cast p0, Ljava/util/Collection;
invoke-interface {p0, p1}, Ljava/util/Collection;->contains(Ljava/lang/Object;)Z
move-result p0
return p0
:cond_0
invoke-static {p0, p1}, Ly/h/f;->indexOf(Ljava/lang/Iterable;Ljava/lang/Object;)I
move-result p0
if-ltz p0, :cond_1
const/4 p0, 0x1
goto :goto_0
:cond_1
const/4 p0, 0x0
:goto_0
return p0
.end method
.method public static final copyInto([B[BIII)[B
.locals 1
const-string v0, "$this$copyInto"
invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "destination"
invoke-static {p1, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
sub-int/2addr p4, p3
invoke-static {p0, p3, p1, p2, p4}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V
return-object p1
.end method
.method public static synthetic copyInto$default([B[BIIII)[B
.locals 2
and-int/lit8 v0, p5, 0x2
const/4 v1, 0x0
if-eqz v0, :cond_0
const/4 p2, 0x0
:cond_0
and-int/lit8 v0, p5, 0x4
if-eqz v0, :cond_1
const/4 p3, 0x0
:cond_1
and-int/lit8 p5, p5, 0x8
if-eqz p5, :cond_2
array-length p4, p0
:cond_2
invoke-static {p0, p1, p2, p3, p4}, Ly/h/f;->copyInto([B[BIII)[B
return-object p1
.end method
.method public static copyInto$default([Ljava/lang/Object;[Ljava/lang/Object;IIII)[Ljava/lang/Object;
.locals 2
and-int/lit8 v0, p5, 0x2
const/4 v1, 0x0
if-eqz v0, :cond_0
const/4 p2, 0x0
:cond_0
and-int/lit8 v0, p5, 0x4
if-eqz v0, :cond_1
const/4 p3, 0x0
:cond_1
and-int/lit8 p5, p5, 0x8
if-eqz p5, :cond_2
array-length p4, p0
:cond_2
const-string p5, "$this$copyInto"
invoke-static {p0, p5}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string p5, "destination"
invoke-static {p1, p5}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
sub-int/2addr p4, p3
invoke-static {p0, p3, p1, p2, p4}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V
return-object p1
.end method
.method public static final copyOfRange([BII)[B
.locals 3
const-string v0, "$this$copyOfRangeImpl"
invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
array-length v0, p0
if-gt p2, v0, :cond_0
invoke-static {p0, p1, p2}, Ljava/util/Arrays;->copyOfRange([BII)[B
move-result-object p0
const-string p1, "java.util.Arrays.copyOfR\u2026this, fromIndex, toIndex)"
invoke-static {p0, p1}, Ly/m/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
return-object p0
:cond_0
new-instance p0, Ljava/lang/IndexOutOfBoundsException;
const-string p1, "toIndex ("
const-string v1, ") is greater than size ("
const-string v2, ")."
invoke-static {p1, p2, v1, v0, v2}, Lf/e/c/a/a;->n(Ljava/lang/String;ILjava/lang/String;ILjava/lang/String;)Ljava/lang/String;
move-result-object p1
invoke-direct {p0, p1}, Ljava/lang/IndexOutOfBoundsException;-><init>(Ljava/lang/String;)V
throw p0
.end method
.method public static final distinct(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
const-string v0, "$this$distinct"
invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
invoke-static {p0}, Ly/h/f;->toMutableSet(Ljava/lang/Iterable;)Ljava/util/Set;
move-result-object p0
invoke-static {p0}, Ly/h/f;->toList(Ljava/lang/Iterable;)Ljava/util/List;
move-result-object p0
return-object p0
.end method
.method public static final drop(Ljava/lang/Iterable;I)Ljava/util/List;
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/Iterable<",
"+TT;>;I)",
"Ljava/util/List<",
"TT;>;"
}
.end annotation
const-string v0, "$this$drop"
invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const/4 v0, 0x0
const/4 v1, 0x1
if-ltz p1, :cond_0
const/4 v2, 0x1
goto :goto_0
:cond_0
const/4 v2, 0x0
:goto_0
if-eqz v2, :cond_a
2020-11-14 03:19:56 +00:00
2020-11-16 01:00:50 +00:00
if-nez p1, :cond_1
2020-11-14 03:19:56 +00:00
2020-11-16 22:05:17 +00:00
invoke-static {p0}, Ly/h/f;->toList(Ljava/lang/Iterable;)Ljava/util/List;
move-result-object p0
return-object p0
:cond_1
instance-of v2, p0, Ljava/util/Collection;
if-eqz v2, :cond_6
move-object v2, p0
check-cast v2, Ljava/util/Collection;
invoke-interface {v2}, Ljava/util/Collection;->size()I
move-result v3
sub-int/2addr v3, p1
if-gtz v3, :cond_2
sget-object p0, Ly/h/l;->d:Ly/h/l;
return-object p0
:cond_2
if-ne v3, v1, :cond_3
invoke-static {p0}, Ly/h/f;->last(Ljava/lang/Iterable;)Ljava/lang/Object;
move-result-object p0
invoke-static {p0}, Lf/h/a/f/f/n/f;->listOf(Ljava/lang/Object;)Ljava/util/List;
move-result-object p0
return-object p0
:cond_3
new-instance v1, Ljava/util/ArrayList;
invoke-direct {v1, v3}, Ljava/util/ArrayList;-><init>(I)V
instance-of v3, p0, Ljava/util/List;
if-eqz v3, :cond_7
instance-of v0, p0, Ljava/util/RandomAccess;
if-eqz v0, :cond_4
invoke-interface {v2}, Ljava/util/Collection;->size()I
move-result v0
:goto_1
if-ge p1, v0, :cond_5
move-object v2, p0
check-cast v2, Ljava/util/List;
invoke-interface {v2, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v2
invoke-virtual {v1, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
add-int/lit8 p1, p1, 0x1
goto :goto_1
:cond_4
check-cast p0, Ljava/util/List;
invoke-interface {p0, p1}, Ljava/util/List;->listIterator(I)Ljava/util/ListIterator;
move-result-object p0
:goto_2
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
move-result p1
if-eqz p1, :cond_5
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object p1
invoke-virtual {v1, p1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
goto :goto_2
:cond_5
return-object v1
:cond_6
new-instance v1, Ljava/util/ArrayList;
invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V
:cond_7
invoke-interface {p0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
move-result-object p0
:goto_3
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
move-result v2
if-eqz v2, :cond_9
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v2
if-lt v0, p1, :cond_8
invoke-virtual {v1, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
goto :goto_3
:cond_8
add-int/lit8 v0, v0, 0x1
goto :goto_3
:cond_9
invoke-static {v1}, Ly/h/f;->optimizeReadOnlyList(Ljava/util/List;)Ljava/util/List;
move-result-object p0
return-object p0
:cond_a
const-string p0, "Requested element count "
const-string v0, " is less than zero."
invoke-static {p0, p1, v0}, Lf/e/c/a/a;->k(Ljava/lang/String;ILjava/lang/String;)Ljava/lang/String;
move-result-object p0
new-instance p1, Ljava/lang/IllegalArgumentException;
invoke-virtual {p0}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object p0
invoke-direct {p1, p0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p1
.end method
.method public static final elementAt(Ljava/lang/Iterable;I)Ljava/lang/Object;
.locals 5
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/Iterable<",
"+TT;>;I)TT;"
}
.end annotation
const-string v0, "$this$elementAt"
invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
instance-of v0, p0, Ljava/util/List;
if-eqz v0, :cond_0
check-cast p0, Ljava/util/List;
invoke-interface {p0, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object p0
return-object p0
:cond_0
new-instance v1, Ly/h/j;
invoke-direct {v1, p1}, Ly/h/j;-><init>(I)V
const-string v2, "$this$elementAtOrElse"
invoke-static {p0, v2}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string v2, "defaultValue"
invoke-static {v1, v2}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const/4 v2, 0x0
if-eqz v0, :cond_2
check-cast p0, Ljava/util/List;
if-ltz p1, :cond_1
invoke-static {p0}, Ly/h/f;->getLastIndex(Ljava/util/List;)I
move-result v0
if-gt p1, v0, :cond_1
invoke-interface {p0, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object p0
goto :goto_1
:cond_1
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object p0
invoke-virtual {v1, p0}, Ly/h/j;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
throw v2
:cond_2
if-ltz p1, :cond_5
invoke-interface {p0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
move-result-object p0
const/4 v0, 0x0
:goto_0
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
move-result v3
if-eqz v3, :cond_4
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v3
add-int/lit8 v4, v0, 0x1
if-ne p1, v0, :cond_3
move-object p0, v3
:goto_1
return-object p0
:cond_3
move v0, v4
goto :goto_0
:cond_4
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object p0
invoke-virtual {v1, p0}, Ly/h/j;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
throw v2
:cond_5
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object p0
invoke-virtual {v1, p0}, Ly/h/j;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
throw v2
.end method
.method public static final filterNotNull(Ljava/lang/Iterable;)Ljava/util/List;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/Iterable<",
"+TT;>;)",
"Ljava/util/List<",
"TT;>;"
}
.end annotation
const-string v0, "$this$filterNotNull"
invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
new-instance v0, Ljava/util/ArrayList;
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
const-string v1, "$this$filterNotNullTo"
invoke-static {p0, v1}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string v1, "destination"
invoke-static {v0, v1}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
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
move-result v1
if-eqz v1, :cond_1
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v1
if-eqz v1, :cond_0
invoke-interface {v0, v1}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
goto :goto_0
:cond_1
return-object v0
.end method
.method public static final first(Ljava/lang/Iterable;)Ljava/lang/Object;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/Iterable<",
"+TT;>;)TT;"
}
.end annotation
const-string v0, "$this$first"
invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
instance-of v0, p0, Ljava/util/List;
if-eqz v0, :cond_0
check-cast p0, Ljava/util/List;
invoke-static {p0}, Ly/h/f;->first(Ljava/util/List;)Ljava/lang/Object;
move-result-object p0
return-object p0
:cond_0
invoke-interface {p0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
move-result-object p0
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
move-result v0
if-eqz v0, :cond_1
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object p0
return-object p0
:cond_1
new-instance p0, Ljava/util/NoSuchElementException;
const-string v0, "Collection is empty."
invoke-direct {p0, v0}, Ljava/util/NoSuchElementException;-><init>(Ljava/lang/String;)V
throw p0
.end method
.method public static final first(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
const-string v0, "$this$first"
invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
invoke-interface {p0}, Ljava/util/List;->isEmpty()Z
move-result v0
if-nez v0, :cond_0
const/4 v0, 0x0
invoke-interface {p0, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object p0
return-object p0
:cond_0
new-instance p0, Ljava/util/NoSuchElementException;
const-string v0, "List is empty."
invoke-direct {p0, v0}, Ljava/util/NoSuchElementException;-><init>(Ljava/lang/String;)V
throw p0
.end method
.method public static final firstOrNull(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
const-string v0, "$this$firstOrNull"
invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
instance-of v0, p0, Ljava/util/List;
const/4 v1, 0x0
if-eqz v0, :cond_1
check-cast p0, Ljava/util/List;
invoke-interface {p0}, Ljava/util/List;->isEmpty()Z
move-result v0
if-eqz v0, :cond_0
return-object v1
:cond_0
const/4 v0, 0x0
invoke-interface {p0, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;
2020-11-12 02:11:44 +00:00
move-result-object p0
return-object p0
:cond_1
2020-11-16 22:05:17 +00:00
invoke-interface {p0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
2020-11-14 03:19:56 +00:00
2020-11-16 22:05:17 +00:00
move-result-object p0
2020-11-14 03:19:56 +00:00
2020-11-16 22:05:17 +00:00
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
2020-11-14 03:19:56 +00:00
2020-11-16 22:05:17 +00:00
move-result v0
2020-11-14 03:19:56 +00:00
2020-11-16 22:05:17 +00:00
if-nez v0, :cond_2
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
return-object v1
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
:cond_2
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
move-result-object p0
return-object p0
.end method
.method public static final firstOrNull(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
const-string v0, "$this$firstOrNull"
invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-interface {p0}, Ljava/util/List;->isEmpty()Z
move-result v0
if-eqz v0, :cond_0
const/4 p0, 0x0
goto :goto_0
:cond_0
const/4 v0, 0x0
invoke-interface {p0, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object p0
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
:goto_0
2020-11-16 01:00:50 +00:00
return-object p0
2020-11-16 22:05:17 +00:00
.end method
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
.method public static final getIndices(Ljava/util/Collection;)Lkotlin/ranges/IntRange;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Collection<",
"*>;)",
"Lkotlin/ranges/IntRange;"
}
.end annotation
const-string v0, "$this$indices"
invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
new-instance v0, Lkotlin/ranges/IntRange;
invoke-interface {p0}, Ljava/util/Collection;->size()I
move-result p0
add-int/lit8 p0, p0, -0x1
const/4 v1, 0x0
invoke-direct {v0, v1, p0}, Lkotlin/ranges/IntRange;-><init>(II)V
return-object v0
.end method
.method public static final getLastIndex(Ljava/util/List;)I
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/util/List<",
"+TT;>;)I"
}
.end annotation
const-string v0, "$this$lastIndex"
invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
invoke-interface {p0}, Ljava/util/List;->size()I
move-result p0
add-int/lit8 p0, p0, -0x1
return p0
.end method
.method public static final getOrNull(Ljava/util/List;I)Ljava/lang/Object;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/util/List<",
"+TT;>;I)TT;"
}
.end annotation
const-string v0, "$this$getOrNull"
invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
if-ltz p1, :cond_0
invoke-static {p0}, Ly/h/f;->getLastIndex(Ljava/util/List;)I
move-result v0
if-gt p1, v0, :cond_0
invoke-interface {p0, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object p0
goto :goto_0
:cond_0
const/4 p0, 0x0
:goto_0
return-object p0
.end method
.method public static final varargs hashSetOf([Ljava/lang/Object;)Ljava/util/HashSet;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">([TT;)",
"Ljava/util/HashSet<",
"TT;>;"
}
.end annotation
const-string v0, "elements"
invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
new-instance v0, Ljava/util/HashSet;
array-length v1, p0
invoke-static {v1}, Lf/h/a/f/f/n/f;->mapCapacity(I)I
move-result v1
invoke-direct {v0, v1}, Ljava/util/HashSet;-><init>(I)V
invoke-static {p0, v0}, Lf/h/a/f/f/n/f;->toCollection([Ljava/lang/Object;Ljava/util/Collection;)Ljava/util/Collection;
return-object v0
.end method
.method public static final indexOf(Ljava/lang/Iterable;Ljava/lang/Object;)I
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/Iterable<",
"+TT;>;TT;)I"
}
.end annotation
const-string v0, "$this$indexOf"
invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
instance-of v0, p0, Ljava/util/List;
if-eqz v0, :cond_0
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
const/4 v0, 0x0
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 v1
if-eqz v1, :cond_3
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v1
if-ltz v0, :cond_2
invoke-static {p1, v1}, Ly/m/c/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_1
return v0
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
:cond_1
add-int/lit8 v0, v0, 0x1
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
goto :goto_0
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
:cond_2
invoke-static {}, Ly/h/f;->throwIndexOverflow()V
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
const/4 p0, 0x0
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
throw p0
2020-11-12 02:11:44 +00:00
2020-11-16 01:00:50 +00:00
:cond_3
2020-11-16 22:05:17 +00:00
const/4 p0, -0x1
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
return p0
.end method
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +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
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
"A::",
"Ljava/lang/Appendable;",
">(",
"Ljava/lang/Iterable<",
"+TT;>;TA;",
"Ljava/lang/CharSequence;",
"Ljava/lang/CharSequence;",
"Ljava/lang/CharSequence;",
"I",
"Ljava/lang/CharSequence;",
"Lkotlin/jvm/functions/Function1<",
"-TT;+",
"Ljava/lang/CharSequence;",
">;)TA;"
}
.end annotation
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
const-string v0, "$this$joinTo"
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-13 19:18:44 +00:00
2020-11-16 22:05:17 +00:00
const-string v0, "buffer"
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-static {p1, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
const-string v0, "separator"
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-static {p2, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
const-string v0, "prefix"
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-static {p3, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
const-string v0, "postfix"
2020-11-14 03:19:56 +00:00
2020-11-16 22:05:17 +00:00
invoke-static {p4, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
const-string v0, "truncated"
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-static {p6, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-interface {p1, p3}, Ljava/lang/Appendable;->append(Ljava/lang/CharSequence;)Ljava/lang/Appendable;
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-interface {p0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
2020-11-12 02:11:44 +00:00
2020-11-16 01:00:50 +00:00
move-result-object p0
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
const/4 p3, 0x0
:goto_0
2020-11-16 01:00:50 +00:00
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
move-result v0
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
if-eqz v0, :cond_2
2020-11-12 02:11:44 +00:00
2020-11-16 01:00:50 +00:00
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
move-result-object v0
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
add-int/lit8 p3, p3, 0x1
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
const/4 v1, 0x1
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
if-le p3, v1, :cond_0
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-interface {p1, p2}, Ljava/lang/Appendable;->append(Ljava/lang/CharSequence;)Ljava/lang/Appendable;
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
:cond_0
if-ltz p5, :cond_1
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
if-gt p3, p5, :cond_2
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
:cond_1
invoke-static {p1, v0, p7}, Ly/s/f;->appendElement(Ljava/lang/Appendable;Ljava/lang/Object;Lkotlin/jvm/functions/Function1;)V
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
goto :goto_0
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
:cond_2
if-ltz p5, :cond_3
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
if-le p3, p5, :cond_3
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-interface {p1, p6}, Ljava/lang/Appendable;->append(Ljava/lang/CharSequence;)Ljava/lang/Appendable;
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
:cond_3
invoke-interface {p1, p4}, Ljava/lang/Appendable;->append(Ljava/lang/CharSequence;)Ljava/lang/Appendable;
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
return-object p1
.end method
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
.method public static synthetic joinTo$default(Ljava/lang/Iterable;Ljava/lang/Appendable;Ljava/lang/CharSequence;Ljava/lang/CharSequence;Ljava/lang/CharSequence;ILjava/lang/CharSequence;Lkotlin/jvm/functions/Function1;I)Ljava/lang/Appendable;
.locals 9
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
and-int/lit8 v0, p8, 0x2
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
if-eqz v0, :cond_0
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
const-string v0, ", "
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
move-object v3, v0
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
goto :goto_0
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
:cond_0
move-object v3, p2
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
:goto_0
and-int/lit8 v0, p8, 0x4
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
const-string v1, ""
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
const/4 v2, 0x0
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
if-eqz v0, :cond_1
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
move-object v4, v1
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
goto :goto_1
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
:cond_1
move-object v4, v2
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
:goto_1
and-int/lit8 v0, p8, 0x8
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
if-eqz v0, :cond_2
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
move-object v5, v1
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
goto :goto_2
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
:cond_2
move-object v5, v2
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
:goto_2
and-int/lit8 v0, p8, 0x10
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
if-eqz v0, :cond_3
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
const/4 v0, -0x1
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
const/4 v6, -0x1
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
goto :goto_3
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
:cond_3
move v6, p5
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
:goto_3
and-int/lit8 v0, p8, 0x20
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
if-eqz v0, :cond_4
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
const-string v0, "..."
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
move-object v7, v0
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
goto :goto_4
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
:cond_4
move-object v7, v2
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
:goto_4
and-int/lit8 v0, p8, 0x40
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
const/4 v8, 0x0
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
move-object v1, p0
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
move-object v2, p1
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-static/range {v1 .. v8}, Ly/h/f;->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;
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
return-object p1
.end method
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
.method public static 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
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
and-int/lit8 p5, p7, 0x1
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
if-eqz p5, :cond_0
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
const-string p1, ", "
2020-11-13 19:18:44 +00:00
2020-11-16 22:05:17 +00:00
:cond_0
move-object v2, p1
2020-11-13 19:18:44 +00:00
2020-11-16 22:05:17 +00:00
and-int/lit8 p1, p7, 0x2
2020-11-13 19:18:44 +00:00
2020-11-16 22:05:17 +00:00
const-string p5, ""
2020-11-14 02:19:59 +00:00
2020-11-16 22:05:17 +00:00
if-eqz p1, :cond_1
2020-11-14 02:19:59 +00:00
2020-11-16 22:05:17 +00:00
move-object v3, p5
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
goto :goto_0
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
:cond_1
move-object v3, p2
2020-11-14 03:19:56 +00:00
2020-11-16 01:00:50 +00:00
:goto_0
2020-11-16 22:05:17 +00:00
and-int/lit8 p1, p7, 0x4
2020-11-14 03:19:56 +00:00
2020-11-16 22:05:17 +00:00
if-eqz p1, :cond_2
2020-11-14 03:19:56 +00:00
2020-11-16 22:05:17 +00:00
move-object v4, p5
2020-11-14 03:19:56 +00:00
2020-11-16 22:05:17 +00:00
goto :goto_1
2020-11-16 01:00:50 +00:00
2020-11-16 22:05:17 +00:00
:cond_2
move-object v4, p3
2020-11-16 01:00:50 +00:00
2020-11-16 22:05:17 +00:00
:goto_1
and-int/lit8 p1, p7, 0x8
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
if-eqz p1, :cond_3
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
const/4 p4, -0x1
const/4 v5, -0x1
goto :goto_2
:cond_3
move v5, p4
:goto_2
and-int/lit8 p1, p7, 0x10
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
const/4 p2, 0x0
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
if-eqz p1, :cond_4
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
const-string p1, "..."
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
move-object v6, p1
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
goto :goto_3
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
:cond_4
move-object v6, p2
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
:goto_3
and-int/lit8 p1, p7, 0x20
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
if-eqz p1, :cond_5
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
move-object v7, p2
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
goto :goto_4
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
:cond_5
move-object v7, p6
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
:goto_4
const-string p1, "$this$joinToString"
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-static {p0, p1}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
const-string p1, "separator"
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-static {v2, p1}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
const-string p1, "prefix"
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-static {v3, p1}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
const-string p1, "postfix"
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-static {v4, p1}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
const-string p1, "truncated"
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-static {v6, p1}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
new-instance p1, Ljava/lang/StringBuilder;
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-direct {p1}, Ljava/lang/StringBuilder;-><init>()V
2020-11-14 02:19:59 +00:00
2020-11-16 22:05:17 +00:00
move-object v0, p0
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
move-object v1, p1
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-static/range {v0 .. v7}, Ly/h/f;->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;
2020-11-16 01:00:50 +00:00
2020-11-16 22:05:17 +00:00
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
2020-11-14 02:19:59 +00:00
2020-11-16 22:05:17 +00:00
move-result-object p0
2020-11-14 02:19:59 +00:00
2020-11-16 22:05:17 +00:00
const-string p1, "joinTo(StringBuilder(), \u2026ed, transform).toString()"
2020-11-16 01:00:50 +00:00
2020-11-16 22:05:17 +00:00
invoke-static {p0, p1}, Ly/m/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-16 01:00:50 +00:00
2020-11-16 22:05:17 +00:00
return-object p0
2020-11-12 02:11:44 +00:00
.end method
2020-11-16 22:05:17 +00:00
.method public static final last(Ljava/lang/Iterable;)Ljava/lang/Object;
.locals 2
2020-11-12 02:11:44 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/Iterable<",
"+TT;>;)TT;"
}
.end annotation
2020-11-16 22:05:17 +00:00
const-string v0, "$this$last"
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-12 02:11:44 +00:00
instance-of v0, p0, Ljava/util/List;
if-eqz v0, :cond_0
check-cast p0, Ljava/util/List;
2020-11-16 22:05:17 +00:00
invoke-static {p0}, Ly/h/f;->last(Ljava/util/List;)Ljava/lang/Object;
2020-11-12 02:11:44 +00:00
move-result-object p0
return-object p0
:cond_0
invoke-interface {p0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
move-result-object p0
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
move-result v0
2020-11-16 22:05:17 +00:00
if-eqz v0, :cond_2
2020-11-14 03:19:56 +00:00
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
2020-11-16 22:05:17 +00:00
move-result-object v0
2020-11-14 03:19:56 +00:00
2020-11-16 22:05:17 +00:00
:goto_0
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
move-result v1
if-eqz v1, :cond_1
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v0
goto :goto_0
2020-11-12 02:11:44 +00:00
:cond_1
2020-11-16 22:05:17 +00:00
return-object v0
:cond_2
2020-11-12 02:11:44 +00:00
new-instance p0, Ljava/util/NoSuchElementException;
const-string v0, "Collection is empty."
invoke-direct {p0, v0}, Ljava/util/NoSuchElementException;-><init>(Ljava/lang/String;)V
throw p0
.end method
2020-11-16 22:05:17 +00:00
.method public static final last(Ljava/util/List;)Ljava/lang/Object;
2020-11-12 02:11:44 +00:00
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/util/List<",
"+TT;>;)TT;"
}
.end annotation
2020-11-16 22:05:17 +00:00
const-string v0, "$this$last"
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-12 02:11:44 +00:00
invoke-interface {p0}, Ljava/util/List;->isEmpty()Z
move-result v0
if-nez v0, :cond_0
2020-11-16 22:05:17 +00:00
invoke-static {p0}, Ly/h/f;->getLastIndex(Ljava/util/List;)I
move-result v0
2020-11-12 02:11:44 +00:00
invoke-interface {p0, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object p0
return-object p0
:cond_0
new-instance p0, Ljava/util/NoSuchElementException;
const-string v0, "List is empty."
invoke-direct {p0, v0}, Ljava/util/NoSuchElementException;-><init>(Ljava/lang/String;)V
throw p0
.end method
2020-11-16 22:05:17 +00:00
.method public static final lastOrNull(Ljava/util/List;)Ljava/lang/Object;
.locals 1
2020-11-12 02:11:44 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
2020-11-16 22:05:17 +00:00
"Ljava/util/List<",
2020-11-12 02:11:44 +00:00
"+TT;>;)TT;"
}
.end annotation
2020-11-16 22:05:17 +00:00
const-string v0, "$this$lastOrNull"
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-12 02:11:44 +00:00
invoke-interface {p0}, Ljava/util/List;->isEmpty()Z
move-result v0
if-eqz v0, :cond_0
2020-11-16 22:05:17 +00:00
const/4 p0, 0x0
2020-11-16 01:00:50 +00:00
2020-11-16 22:05:17 +00:00
goto :goto_0
2020-11-16 01:00:50 +00:00
2020-11-16 22:05:17 +00:00
:cond_0
invoke-interface {p0}, Ljava/util/List;->size()I
2020-11-12 02:11:44 +00:00
move-result v0
2020-11-16 22:05:17 +00:00
add-int/lit8 v0, v0, -0x1
2020-11-16 01:00:50 +00:00
2020-11-16 22:05:17 +00:00
invoke-interface {p0, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;
2020-11-12 02:11:44 +00:00
move-result-object p0
2020-11-16 22:05:17 +00:00
:goto_0
2020-11-12 02:11:44 +00:00
return-object p0
.end method
2020-11-16 22:05:17 +00:00
.method public static final varargs listOf([Ljava/lang/Object;)Ljava/util/List;
2020-11-12 02:11:44 +00:00
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
2020-11-16 22:05:17 +00:00
">([TT;)",
2020-11-12 02:11:44 +00:00
"Ljava/util/List<",
2020-11-16 22:05:17 +00:00
"TT;>;"
2020-11-12 02:11:44 +00:00
}
.end annotation
2020-11-16 22:05:17 +00:00
const-string v0, "elements"
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
array-length v0, p0
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
if-lez v0, :cond_0
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-static {p0}, Ly/h/f;->asList([Ljava/lang/Object;)Ljava/util/List;
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
move-result-object p0
2020-11-12 02:11:44 +00:00
goto :goto_0
:cond_0
2020-11-16 22:05:17 +00:00
sget-object p0, Ly/h/l;->d:Ly/h/l;
2020-11-12 02:11:44 +00:00
:goto_0
return-object p0
.end method
2020-11-16 22:05:17 +00:00
.method public static final varargs listOfNotNull([Ljava/lang/Object;)Ljava/util/List;
2020-11-12 02:11:44 +00:00
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
2020-11-16 22:05:17 +00:00
">([TT;)",
2020-11-12 02:11:44 +00:00
"Ljava/util/List<",
2020-11-16 22:05:17 +00:00
"TT;>;"
2020-11-14 03:19:56 +00:00
}
.end annotation
2020-11-13 19:18:44 +00:00
2020-11-16 22:05:17 +00:00
const-string v0, "elements"
2020-11-14 03:19:56 +00:00
2020-11-16 22:05:17 +00:00
invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-14 03:19:56 +00:00
2020-11-16 22:05:17 +00:00
invoke-static {p0}, Lf/h/a/f/f/n/f;->filterNotNull([Ljava/lang/Object;)Ljava/util/List;
2020-11-14 03:19:56 +00:00
2020-11-16 22:05:17 +00:00
move-result-object p0
2020-11-14 03:19:56 +00:00
2020-11-16 22:05:17 +00:00
return-object p0
.end method
2020-11-14 03:19:56 +00:00
2020-11-16 22:05:17 +00:00
.method public static final varargs mapOf([Lkotlin/Pair;)Ljava/util/Map;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"<K:",
"Ljava/lang/Object;",
"V:",
"Ljava/lang/Object;",
">([",
"Lkotlin/Pair<",
"+TK;+TV;>;)",
"Ljava/util/Map<",
"TK;TV;>;"
}
.end annotation
2020-11-14 03:19:56 +00:00
2020-11-16 22:05:17 +00:00
const-string v0, "pairs"
2020-11-14 03:19:56 +00:00
2020-11-16 22:05:17 +00:00
invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
array-length v0, p0
if-lez v0, :cond_0
new-instance v0, Ljava/util/LinkedHashMap;
array-length v1, p0
invoke-static {v1}, Lf/h/a/f/f/n/f;->mapCapacity(I)I
move-result v1
invoke-direct {v0, v1}, Ljava/util/LinkedHashMap;-><init>(I)V
const-string v1, "$this$toMap"
invoke-static {p0, v1}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string v1, "destination"
invoke-static {v0, v1}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
invoke-static {v0, p0}, Ly/h/f;->putAll(Ljava/util/Map;[Lkotlin/Pair;)V
2020-11-12 02:11:44 +00:00
goto :goto_0
:cond_0
2020-11-16 22:05:17 +00:00
sget-object v0, Ly/h/m;->d:Ly/h/m;
2020-11-12 02:11:44 +00:00
:goto_0
2020-11-16 22:05:17 +00:00
return-object v0
2020-11-12 02:11:44 +00:00
.end method
2020-11-16 22:05:17 +00:00
.method public static final maxOrNull(Ljava/lang/Iterable;)Ljava/lang/Comparable;
.locals 3
2020-11-12 02:11:44 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
2020-11-16 22:05:17 +00:00
"<T::",
"Ljava/lang/Comparable<",
"-TT;>;>(",
2020-11-12 02:11:44 +00:00
"Ljava/lang/Iterable<",
2020-11-16 22:05:17 +00:00
"+TT;>;)TT;"
2020-11-12 02:11:44 +00:00
}
.end annotation
2020-11-16 22:05:17 +00:00
const-string v0, "$this$maxOrNull"
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-interface {p0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
move-result-object p0
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
move-result v0
2020-11-13 19:18:44 +00:00
2020-11-16 22:05:17 +00:00
if-nez v0, :cond_0
2020-11-14 03:19:56 +00:00
2020-11-16 22:05:17 +00:00
const/4 p0, 0x0
return-object p0
2020-11-12 02:11:44 +00:00
:cond_0
2020-11-16 22:05:17 +00:00
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
move-result-object v0
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
check-cast v0, Ljava/lang/Comparable;
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
:cond_1
2020-11-12 02:11:44 +00:00
:goto_0
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
move-result v1
2020-11-16 22:05:17 +00:00
if-eqz v1, :cond_2
2020-11-12 02:11:44 +00:00
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v1
2020-11-16 22:05:17 +00:00
check-cast v1, Ljava/lang/Comparable;
2020-11-14 02:19:59 +00:00
2020-11-16 22:05:17 +00:00
invoke-interface {v0, v1}, Ljava/lang/Comparable;->compareTo(Ljava/lang/Object;)I
2020-11-14 02:19:59 +00:00
2020-11-16 22:05:17 +00:00
move-result v2
2020-11-16 01:00:50 +00:00
2020-11-16 22:05:17 +00:00
if-gez v2, :cond_1
2020-11-16 01:00:50 +00:00
2020-11-16 22:05:17 +00:00
move-object v0, v1
2020-11-16 01:00:50 +00:00
2020-11-16 22:05:17 +00:00
goto :goto_0
2020-11-16 01:00:50 +00:00
2020-11-16 22:05:17 +00:00
:cond_2
return-object v0
2020-11-12 02:11:44 +00:00
.end method
2020-11-16 22:05:17 +00:00
.method public static final maxOrNull(Ljava/lang/Iterable;)Ljava/lang/Float;
2020-11-12 02:11:44 +00:00
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
2020-11-16 22:05:17 +00:00
"(",
2020-11-12 02:11:44 +00:00
"Ljava/lang/Iterable<",
2020-11-16 22:05:17 +00:00
"Ljava/lang/Float;",
">;)",
"Ljava/lang/Float;"
2020-11-12 02:11:44 +00:00
}
.end annotation
2020-11-16 22:05:17 +00:00
const-string v0, "$this$maxOrNull"
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-interface {p0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
move-result-object p0
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
move-result v0
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
if-nez v0, :cond_0
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
const/4 p0, 0x0
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
return-object p0
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
:cond_0
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
2020-11-14 02:19:59 +00:00
2020-11-16 22:05:17 +00:00
move-result-object v0
2020-11-14 02:19:59 +00:00
2020-11-16 22:05:17 +00:00
check-cast v0, Ljava/lang/Number;
2020-11-16 01:00:50 +00:00
2020-11-16 22:05:17 +00:00
invoke-virtual {v0}, Ljava/lang/Number;->floatValue()F
2020-11-16 01:00:50 +00:00
2020-11-16 22:05:17 +00:00
move-result v0
2020-11-12 02:11:44 +00:00
:goto_0
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
2020-11-16 22:05:17 +00:00
move-result v1
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
if-eqz v1, :cond_1
2020-11-12 02:11:44 +00:00
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
2020-11-16 22:05:17 +00:00
move-result-object v1
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
check-cast v1, Ljava/lang/Number;
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-virtual {v1}, Ljava/lang/Number;->floatValue()F
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
move-result v1
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-static {v0, v1}, Ljava/lang/Math;->max(FF)F
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
move-result v0
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
goto :goto_0
2020-11-12 02:11:44 +00:00
:cond_1
2020-11-16 22:05:17 +00:00
invoke-static {v0}, Ljava/lang/Float;->valueOf(F)Ljava/lang/Float;
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
move-result-object p0
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
return-object p0
.end method
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
.method public static final minus(Ljava/lang/Iterable;Ljava/lang/Iterable;)Ljava/util/List;
.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
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
const-string v0, "$this$minus"
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
const-string v0, "elements"
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-static {p1, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-static {p1, p0}, Lf/h/a/f/f/n/f;->convertToSetForSetOperationWith(Ljava/lang/Iterable;Ljava/lang/Iterable;)Ljava/util/Collection;
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
move-result-object p1
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-interface {p1}, Ljava/util/Collection;->isEmpty()Z
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
move-result v0
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
if-eqz v0, :cond_0
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-static {p0}, Ly/h/f;->toList(Ljava/lang/Iterable;)Ljava/util/List;
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
move-result-object p0
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
return-object p0
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
:cond_0
new-instance v0, Ljava/util/ArrayList;
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-interface {p0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
move-result-object p0
2020-11-12 02:11:44 +00:00
:cond_1
2020-11-16 22:05:17 +00:00
:goto_0
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
move-result v1
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
if-eqz v1, :cond_2
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
move-result-object v1
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-interface {p1, v1}, Ljava/util/Collection;->contains(Ljava/lang/Object;)Z
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
move-result v2
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
if-nez v2, :cond_1
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
goto :goto_0
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
:cond_2
return-object v0
.end method
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
.method public static final minus(Ljava/lang/Iterable;Ljava/lang/Object;)Ljava/util/List;
.locals 6
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/Iterable<",
"+TT;>;TT;)",
"Ljava/util/List<",
"TT;>;"
}
.end annotation
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
const-string v0, "$this$minus"
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
new-instance v0, Ljava/util/ArrayList;
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
const/16 v1, 0xa
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-static {p0, v1}, Lf/h/a/f/f/n/f;->collectionSizeOrDefault(Ljava/lang/Iterable;I)I
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
move-result v1
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-direct {v0, v1}, Ljava/util/ArrayList;-><init>(I)V
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-interface {p0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
move-result-object p0
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
const/4 v1, 0x0
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
const/4 v2, 0x0
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
:cond_0
:goto_0
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
move-result v3
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
if-eqz v3, :cond_2
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
move-result-object v3
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
const/4 v4, 0x1
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
if-nez v2, :cond_1
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-static {v3, p1}, Ly/m/c/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
move-result v5
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
if-eqz v5, :cond_1
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
const/4 v2, 0x1
2020-11-14 02:19:59 +00:00
2020-11-16 22:05:17 +00:00
const/4 v4, 0x0
2020-11-14 02:19:59 +00:00
2020-11-16 22:05:17 +00:00
:cond_1
if-eqz v4, :cond_0
2020-11-16 01:00:50 +00:00
2020-11-16 22:05:17 +00:00
invoke-virtual {v0, v3}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
2020-11-16 01:00:50 +00:00
2020-11-16 22:05:17 +00:00
goto :goto_0
2020-11-12 02:11:44 +00:00
:cond_2
2020-11-16 22:05:17 +00:00
return-object v0
.end method
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +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
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
const-string v0, "$this$minus"
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
const-string v0, "keys"
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-static {p1, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-static {p0}, Ly/h/f;->toMutableMap(Ljava/util/Map;)Ljava/util/Map;
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
move-result-object p0
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
move-object v0, p0
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
check-cast v0, Ljava/util/LinkedHashMap;
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-virtual {v0}, Ljava/util/LinkedHashMap;->keySet()Ljava/util/Set;
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
move-result-object v0
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
const-string v1, "$this$removeAll"
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-static {v0, v1}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
const-string v1, "elements"
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-static {p1, v1}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-static {p1, v0}, Lf/h/a/f/f/n/f;->convertToSetForSetOperationWith(Ljava/lang/Iterable;Ljava/lang/Iterable;)Ljava/util/Collection;
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
move-result-object p1
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-static {v0}, Ly/m/c/w;->asMutableCollection(Ljava/lang/Object;)Ljava/util/Collection;
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
move-result-object v0
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-interface {v0, p1}, Ljava/util/Collection;->removeAll(Ljava/util/Collection;)Z
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-static {p0}, Ly/h/f;->optimizeReadOnlyMap(Ljava/util/Map;)Ljava/util/Map;
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
move-result-object p0
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
return-object p0
.end method
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
.method public static final varargs mutableListOf([Ljava/lang/Object;)Ljava/util/List;
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">([TT;)",
"Ljava/util/List<",
"TT;>;"
}
.end annotation
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
const-string v0, "elements"
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
array-length v0, p0
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
if-nez v0, :cond_0
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
new-instance p0, Ljava/util/ArrayList;
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-direct {p0}, Ljava/util/ArrayList;-><init>()V
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
goto :goto_0
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
:cond_0
new-instance v0, Ljava/util/ArrayList;
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
new-instance v1, Ly/h/d;
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
const/4 v2, 0x1
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-direct {v1, p0, v2}, Ly/h/d;-><init>([Ljava/lang/Object;Z)V
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-direct {v0, v1}, Ljava/util/ArrayList;-><init>(Ljava/util/Collection;)V
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
move-object p0, v0
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
:goto_0
2020-11-12 02:11:44 +00:00
return-object p0
.end method
2020-11-16 22:05:17 +00:00
.method public static final varargs mutableMapOf([Lkotlin/Pair;)Ljava/util/Map;
2020-11-12 02:11:44 +00:00
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
2020-11-16 22:05:17 +00:00
"<K:",
2020-11-14 03:19:56 +00:00
"Ljava/lang/Object;",
2020-11-16 22:05:17 +00:00
"V:",
"Ljava/lang/Object;",
">([",
"Lkotlin/Pair<",
"+TK;+TV;>;)",
"Ljava/util/Map<",
"TK;TV;>;"
2020-11-12 02:11:44 +00:00
}
.end annotation
2020-11-16 22:05:17 +00:00
const-string v0, "pairs"
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
new-instance v0, Ljava/util/LinkedHashMap;
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
array-length v1, p0
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-static {v1}, Lf/h/a/f/f/n/f;->mapCapacity(I)I
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
move-result v1
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-direct {v0, v1}, Ljava/util/LinkedHashMap;-><init>(I)V
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-static {v0, p0}, Ly/h/f;->putAll(Ljava/util/Map;[Lkotlin/Pair;)V
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
return-object v0
.end method
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
.method public static final optimizeReadOnlyList(Ljava/util/List;)Ljava/util/List;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/util/List<",
"+TT;>;)",
"Ljava/util/List<",
"TT;>;"
}
.end annotation
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
const-string v0, "$this$optimizeReadOnlyList"
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-interface {p0}, Ljava/util/List;->size()I
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
move-result v0
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
if-eqz v0, :cond_1
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
const/4 v1, 0x1
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
if-eq v0, v1, :cond_0
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
goto :goto_0
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
:cond_0
const/4 v0, 0x0
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-interface {p0, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;
2020-11-14 02:19:59 +00:00
2020-11-16 22:05:17 +00:00
move-result-object p0
2020-11-14 02:19:59 +00:00
2020-11-16 22:05:17 +00:00
invoke-static {p0}, Lf/h/a/f/f/n/f;->listOf(Ljava/lang/Object;)Ljava/util/List;
2020-11-14 02:19:59 +00:00
2020-11-16 22:05:17 +00:00
move-result-object p0
2020-11-16 01:00:50 +00:00
2020-11-16 22:05:17 +00:00
goto :goto_0
2020-11-16 01:00:50 +00:00
2020-11-16 22:05:17 +00:00
:cond_1
sget-object p0, Ly/h/l;->d:Ly/h/l;
2020-11-16 01:00:50 +00:00
2020-11-16 22:05:17 +00:00
:goto_0
return-object p0
2020-11-12 02:11:44 +00:00
.end method
2020-11-16 22:05:17 +00:00
.method public static final optimizeReadOnlyMap(Ljava/util/Map;)Ljava/util/Map;
.locals 2
2020-11-12 02:11:44 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
2020-11-16 22:05:17 +00:00
"<K:",
"Ljava/lang/Object;",
"V:",
2020-11-12 02:11:44 +00:00
"Ljava/lang/Object;",
">(",
2020-11-16 22:05:17 +00:00
"Ljava/util/Map<",
"TK;+TV;>;)",
"Ljava/util/Map<",
"TK;TV;>;"
2020-11-12 02:11:44 +00:00
}
.end annotation
2020-11-16 22:05:17 +00:00
const-string v0, "$this$optimizeReadOnlyMap"
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-interface {p0}, Ljava/util/Map;->size()I
2020-11-12 02:11:44 +00:00
move-result v0
2020-11-16 22:05:17 +00:00
if-eqz v0, :cond_1
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
const/4 v1, 0x1
2020-11-13 19:18:44 +00:00
2020-11-16 22:05:17 +00:00
if-eq v0, v1, :cond_0
2020-11-14 02:19:59 +00:00
2020-11-16 22:05:17 +00:00
goto :goto_0
2020-11-14 02:19:59 +00:00
2020-11-16 01:00:50 +00:00
:cond_0
2020-11-16 22:05:17 +00:00
invoke-static {p0}, Lf/h/a/f/f/n/f;->toSingletonMap(Ljava/util/Map;)Ljava/util/Map;
2020-11-14 03:19:56 +00:00
2020-11-16 22:05:17 +00:00
move-result-object p0
2020-11-16 01:00:50 +00:00
2020-11-16 22:05:17 +00:00
goto :goto_0
2020-11-16 01:00:50 +00:00
2020-11-16 22:05:17 +00:00
:cond_1
sget-object p0, Ly/h/m;->d:Ly/h/m;
:goto_0
return-object p0
2020-11-12 02:11:44 +00:00
.end method
2020-11-16 22:05:17 +00:00
.method public static final optimizeReadOnlySet(Ljava/util/Set;)Ljava/util/Set;
.locals 2
2020-11-12 02:11:44 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
2020-11-16 22:05:17 +00:00
"Ljava/util/Set<",
"+TT;>;)",
"Ljava/util/Set<",
"TT;>;"
2020-11-12 02:11:44 +00:00
}
.end annotation
2020-11-16 22:05:17 +00:00
const-string v0, "$this$optimizeReadOnlySet"
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-interface {p0}, Ljava/util/Set;->size()I
2020-11-12 02:11:44 +00:00
move-result v0
2020-11-16 22:05:17 +00:00
if-eqz v0, :cond_1
2020-11-14 03:19:56 +00:00
2020-11-16 22:05:17 +00:00
const/4 v1, 0x1
if-eq v0, v1, :cond_0
2020-11-12 02:11:44 +00:00
goto :goto_0
:cond_0
2020-11-16 22:05:17 +00:00
invoke-interface {p0}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
move-result-object p0
2020-11-13 19:18:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
2020-11-14 03:19:56 +00:00
2020-11-16 22:05:17 +00:00
move-result-object p0
invoke-static {p0}, Lf/h/a/f/f/n/f;->setOf(Ljava/lang/Object;)Ljava/util/Set;
2020-11-12 02:11:44 +00:00
move-result-object p0
2020-11-16 22:05:17 +00:00
goto :goto_0
:cond_1
sget-object p0, Ly/h/n;->d:Ly/h/n;
2020-11-12 02:11:44 +00:00
:goto_0
return-object p0
.end method
2020-11-16 22:05:17 +00:00
.method public static final plus(Ljava/util/Collection;Ljava/lang/Iterable;)Ljava/util/List;
2020-11-12 02:11:44 +00:00
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
2020-11-16 22:05:17 +00:00
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/util/Collection<",
"+TT;>;",
2020-11-12 02:11:44 +00:00
"Ljava/lang/Iterable<",
2020-11-16 22:05:17 +00:00
"+TT;>;)",
"Ljava/util/List<",
"TT;>;"
2020-11-12 02:11:44 +00:00
}
.end annotation
2020-11-16 22:05:17 +00:00
const-string v0, "$this$plus"
2020-11-14 03:19:56 +00:00
2020-11-16 22:05:17 +00:00
invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-14 03:19:56 +00:00
2020-11-16 22:05:17 +00:00
const-string v0, "elements"
2020-11-14 03:19:56 +00:00
2020-11-16 22:05:17 +00:00
invoke-static {p1, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-14 03:19:56 +00:00
2020-11-16 22:05:17 +00:00
instance-of v0, p1, Ljava/util/Collection;
2020-11-14 03:19:56 +00:00
2020-11-16 22:05:17 +00:00
if-eqz v0, :cond_0
2020-11-14 03:19:56 +00:00
2020-11-16 22:05:17 +00:00
new-instance v0, Ljava/util/ArrayList;
2020-11-14 03:19:56 +00:00
2020-11-16 22:05:17 +00:00
invoke-interface {p0}, Ljava/util/Collection;->size()I
2020-11-14 03:19:56 +00:00
2020-11-16 22:05:17 +00:00
move-result v1
check-cast p1, Ljava/util/Collection;
invoke-interface {p1}, Ljava/util/Collection;->size()I
move-result v2
add-int/2addr v2, v1
invoke-direct {v0, v2}, 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;->addAll(Ljava/util/Collection;)Z
return-object v0
2020-11-12 02:11:44 +00:00
:cond_0
2020-11-16 22:05:17 +00:00
new-instance v0, Ljava/util/ArrayList;
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-direct {v0, p0}, Ljava/util/ArrayList;-><init>(Ljava/util/Collection;)V
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-static {v0, p1}, Ly/h/f;->addAll(Ljava/util/Collection;Ljava/lang/Iterable;)Z
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
return-object v0
.end method
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
.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
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
const-string v0, "$this$plus"
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
new-instance v0, Ljava/util/ArrayList;
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-interface {p0}, Ljava/util/Collection;->size()I
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
move-result v1
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
add-int/lit8 v1, v1, 0x1
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-direct {v0, v1}, Ljava/util/ArrayList;-><init>(I)V
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-virtual {v0, p0}, Ljava/util/ArrayList;->addAll(Ljava/util/Collection;)Z
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-virtual {v0, p1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
2020-11-12 02:11:44 +00:00
return-object v0
.end method
2020-11-16 22:05:17 +00:00
.method public static final plus(Ljava/util/Map;Ljava/util/Map;)Ljava/util/Map;
.locals 1
2020-11-12 02:11:44 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
2020-11-16 22:05:17 +00:00
"<K:",
"Ljava/lang/Object;",
"V:",
"Ljava/lang/Object;",
">(",
"Ljava/util/Map<",
"+TK;+TV;>;",
"Ljava/util/Map<",
"+TK;+TV;>;)",
"Ljava/util/Map<",
"TK;TV;>;"
2020-11-12 02:11:44 +00:00
}
.end annotation
2020-11-16 22:05:17 +00:00
const-string v0, "$this$plus"
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
const-string v0, "map"
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-static {p1, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
new-instance v0, Ljava/util/LinkedHashMap;
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-direct {v0, p0}, Ljava/util/LinkedHashMap;-><init>(Ljava/util/Map;)V
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-virtual {v0, p1}, Ljava/util/LinkedHashMap;->putAll(Ljava/util/Map;)V
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
return-object v0
.end method
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
.method public static final plus(Ljava/util/Map;Lkotlin/Pair;)Ljava/util/Map;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<K:",
"Ljava/lang/Object;",
"V:",
"Ljava/lang/Object;",
">(",
"Ljava/util/Map<",
"+TK;+TV;>;",
"Lkotlin/Pair<",
"+TK;+TV;>;)",
"Ljava/util/Map<",
"TK;TV;>;"
}
.end annotation
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
const-string v0, "$this$plus"
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
const-string v0, "pair"
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-static {p1, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-interface {p0}, Ljava/util/Map;->isEmpty()Z
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
move-result v0
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
if-eqz v0, :cond_0
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-static {p1}, Lf/h/a/f/f/n/f;->mapOf(Lkotlin/Pair;)Ljava/util/Map;
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
move-result-object p0
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
goto :goto_0
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
:cond_0
new-instance v0, Ljava/util/LinkedHashMap;
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-direct {v0, p0}, Ljava/util/LinkedHashMap;-><init>(Ljava/util/Map;)V
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-virtual {p1}, Lkotlin/Pair;->getFirst()Ljava/lang/Object;
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
move-result-object p0
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-virtual {p1}, Lkotlin/Pair;->getSecond()Ljava/lang/Object;
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
move-result-object p1
2020-11-14 02:19:59 +00:00
2020-11-16 22:05:17 +00:00
invoke-virtual {v0, p0, p1}, Ljava/util/LinkedHashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
2020-11-16 01:00:50 +00:00
2020-11-16 22:05:17 +00:00
move-object p0, v0
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
:goto_0
2020-11-12 02:11:44 +00:00
return-object p0
.end method
2020-11-16 22:05:17 +00:00
.method public static final plus(Ljava/util/Set;Ljava/lang/Iterable;)Ljava/util/Set;
.locals 2
2020-11-12 02:11:44 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
2020-11-16 22:05:17 +00:00
"Ljava/util/Set<",
2020-11-12 02:11:44 +00:00
"+TT;>;",
"Ljava/lang/Iterable<",
"+TT;>;)",
2020-11-16 22:05:17 +00:00
"Ljava/util/Set<",
2020-11-12 02:11:44 +00:00
"TT;>;"
}
.end annotation
2020-11-16 22:05:17 +00:00
const-string v0, "$this$plus"
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-12 02:11:44 +00:00
const-string v0, "elements"
2020-11-16 22:05:17 +00:00
invoke-static {p1, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-13 19:18:44 +00:00
2020-11-16 22:05:17 +00:00
const-string v0, "$this$collectionSizeOrNull"
2020-11-14 03:19:56 +00:00
2020-11-16 22:05:17 +00:00
invoke-static {p1, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-14 03:19:56 +00:00
2020-11-16 22:05:17 +00:00
move-object v0, p1
check-cast v0, Ljava/util/Collection;
invoke-interface {v0}, Ljava/util/Collection;->size()I
2020-11-12 02:11:44 +00:00
move-result v0
2020-11-16 22:05:17 +00:00
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
move-result-object v0
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
if-eqz v0, :cond_0
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-virtual {v0}, Ljava/lang/Number;->intValue()I
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
move-result v0
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-interface {p0}, Ljava/util/Set;->size()I
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
move-result v1
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
add-int/2addr v1, v0
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
goto :goto_0
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
:cond_0
invoke-interface {p0}, Ljava/util/Set;->size()I
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
move-result v0
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
mul-int/lit8 v1, v0, 0x2
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
:goto_0
invoke-static {v1}, Lf/h/a/f/f/n/f;->mapCapacity(I)I
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
move-result v0
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
new-instance v1, Ljava/util/LinkedHashSet;
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-direct {v1, v0}, Ljava/util/LinkedHashSet;-><init>(I)V
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-virtual {v1, p0}, Ljava/util/LinkedHashSet;->addAll(Ljava/util/Collection;)Z
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-static {v1, p1}, Ly/h/f;->addAll(Ljava/util/Collection;Ljava/lang/Iterable;)Z
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
return-object v1
2020-11-12 02:11:44 +00:00
.end method
2020-11-16 22:05:17 +00:00
.method public static final plus(Ljava/util/Set;Ljava/lang/Object;)Ljava/util/Set;
.locals 2
2020-11-12 02:11:44 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
2020-11-16 22:05:17 +00:00
"Ljava/util/Set<",
2020-11-12 02:11:44 +00:00
"+TT;>;TT;)",
2020-11-16 22:05:17 +00:00
"Ljava/util/Set<",
2020-11-12 02:11:44 +00:00
"TT;>;"
}
.end annotation
2020-11-16 22:05:17 +00:00
const-string v0, "$this$plus"
2020-11-13 19:18:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-13 19:18:44 +00:00
2020-11-16 22:05:17 +00:00
new-instance v0, Ljava/util/LinkedHashSet;
2020-11-14 03:19:56 +00:00
2020-11-16 22:05:17 +00:00
invoke-interface {p0}, Ljava/util/Set;->size()I
2020-11-14 03:19:56 +00:00
2020-11-16 22:05:17 +00:00
move-result v1
add-int/lit8 v1, v1, 0x1
invoke-static {v1}, Lf/h/a/f/f/n/f;->mapCapacity(I)I
2020-11-12 02:11:44 +00:00
move-result v1
2020-11-16 22:05:17 +00:00
invoke-direct {v0, v1}, Ljava/util/LinkedHashSet;-><init>(I)V
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-virtual {v0, p0}, Ljava/util/LinkedHashSet;->addAll(Ljava/util/Collection;)Z
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-virtual {v0, p1}, Ljava/util/LinkedHashSet;->add(Ljava/lang/Object;)Z
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
return-object v0
.end method
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
.method public static final putAll(Ljava/util/Map;[Lkotlin/Pair;)V
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"<K:",
"Ljava/lang/Object;",
"V:",
"Ljava/lang/Object;",
">(",
"Ljava/util/Map<",
"-TK;-TV;>;[",
"Lkotlin/Pair<",
"+TK;+TV;>;)V"
}
.end annotation
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
const-string v0, "$this$putAll"
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
const-string v0, "pairs"
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-static {p1, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
array-length v0, p1
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
const/4 v1, 0x0
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
:goto_0
if-ge v1, v0, :cond_0
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
aget-object v2, p1, v1
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-virtual {v2}, Lkotlin/Pair;->component1()Ljava/lang/Object;
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
move-result-object v3
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-virtual {v2}, Lkotlin/Pair;->component2()Ljava/lang/Object;
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
move-result-object v2
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-interface {p0, v3, v2}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
add-int/lit8 v1, v1, 0x1
2020-11-12 02:11:44 +00:00
goto :goto_0
2020-11-16 22:05:17 +00:00
:cond_0
return-void
2020-11-12 02:11:44 +00:00
.end method
2020-11-16 22:05:17 +00:00
.method public static final removeAll(Ljava/util/List;Lkotlin/jvm/functions/Function1;)Z
.locals 7
2020-11-12 02:11:44 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/util/List<",
2020-11-16 22:05:17 +00:00
"TT;>;",
"Lkotlin/jvm/functions/Function1<",
"-TT;",
"Ljava/lang/Boolean;",
">;)Z"
2020-11-12 02:11:44 +00:00
}
.end annotation
2020-11-16 22:05:17 +00:00
const-string v0, "$this$removeAll"
2020-11-14 03:19:56 +00:00
2020-11-16 22:05:17 +00:00
invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-14 03:19:56 +00:00
2020-11-16 22:05:17 +00:00
const-string v0, "predicate"
2020-11-14 03:19:56 +00:00
2020-11-16 22:05:17 +00:00
invoke-static {p1, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-14 03:19:56 +00:00
2020-11-16 22:05:17 +00:00
instance-of v0, p0, Ljava/util/RandomAccess;
const/4 v1, 0x1
const/4 v2, 0x0
if-nez v0, :cond_2
instance-of v0, p0, Ly/m/c/x/a;
if-eqz v0, :cond_1
instance-of v0, p0, Ly/m/c/x/b;
2020-11-12 02:11:44 +00:00
if-eqz v0, :cond_0
2020-11-16 22:05:17 +00:00
goto :goto_0
2020-11-14 03:19:56 +00:00
2020-11-16 22:05:17 +00:00
:cond_0
const-string p1, "kotlin.collections.MutableIterable"
invoke-static {p0, p1}, Ly/m/c/w;->throwCce(Ljava/lang/Object;Ljava/lang/String;)V
const/4 p0, 0x0
throw p0
:cond_1
:goto_0
invoke-static {p0, p1, v1}, Ly/h/f;->a(Ljava/lang/Iterable;Lkotlin/jvm/functions/Function1;Z)Z
2020-11-12 02:11:44 +00:00
move-result v1
2020-11-16 22:05:17 +00:00
goto :goto_4
2020-11-14 03:19:56 +00:00
2020-11-16 22:05:17 +00:00
:cond_2
invoke-static {p0}, Ly/h/f;->getLastIndex(Ljava/util/List;)I
2020-11-14 03:19:56 +00:00
2020-11-16 22:05:17 +00:00
move-result v0
2020-11-14 03:19:56 +00:00
2020-11-16 22:05:17 +00:00
if-ltz v0, :cond_5
2020-11-14 03:19:56 +00:00
2020-11-16 22:05:17 +00:00
const/4 v3, 0x0
2020-11-14 03:19:56 +00:00
2020-11-16 22:05:17 +00:00
const/4 v4, 0x0
2020-11-14 03:19:56 +00:00
2020-11-16 22:05:17 +00:00
:goto_1
invoke-interface {p0, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;
2020-11-14 03:19:56 +00:00
2020-11-16 22:05:17 +00:00
move-result-object v5
2020-11-14 03:19:56 +00:00
2020-11-16 22:05:17 +00:00
invoke-interface {p1, v5}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
2020-11-14 03:19:56 +00:00
2020-11-16 22:05:17 +00:00
move-result-object v6
check-cast v6, Ljava/lang/Boolean;
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-virtual {v6}, Ljava/lang/Boolean;->booleanValue()Z
move-result v6
if-ne v6, v1, :cond_3
goto :goto_2
:cond_3
if-eq v4, v3, :cond_4
invoke-interface {p0, v4, v5}, Ljava/util/List;->set(ILjava/lang/Object;)Ljava/lang/Object;
:cond_4
add-int/lit8 v4, v4, 0x1
:goto_2
if-eq v3, v0, :cond_6
add-int/lit8 v3, v3, 0x1
goto :goto_1
:cond_5
const/4 v4, 0x0
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
:cond_6
invoke-interface {p0}, Ljava/util/List;->size()I
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
move-result p1
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
if-ge v4, p1, :cond_7
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-static {p0}, Ly/h/f;->getLastIndex(Ljava/util/List;)I
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
move-result p1
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
if-lt p1, v4, :cond_8
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
:goto_3
invoke-interface {p0, p1}, Ljava/util/List;->remove(I)Ljava/lang/Object;
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
if-eq p1, v4, :cond_8
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
add-int/lit8 p1, p1, -0x1
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
goto :goto_3
2020-11-14 02:19:59 +00:00
2020-11-16 22:05:17 +00:00
:cond_7
const/4 v1, 0x0
2020-11-16 01:00:50 +00:00
2020-11-16 22:05:17 +00:00
:cond_8
:goto_4
return v1
2020-11-12 02:11:44 +00:00
.end method
.method public static final reversed(Ljava/lang/Iterable;)Ljava/util/List;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/Iterable<",
"+TT;>;)",
"Ljava/util/List<",
"TT;>;"
}
.end annotation
const-string v0, "$this$reversed"
2020-11-16 22:05:17 +00:00
invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-12 02:11:44 +00:00
instance-of v0, p0, Ljava/util/Collection;
if-eqz v0, :cond_0
move-object v0, p0
check-cast v0, Ljava/util/Collection;
invoke-interface {v0}, Ljava/util/Collection;->size()I
move-result v0
const/4 v1, 0x1
if-gt v0, v1, :cond_0
2020-11-16 22:05:17 +00:00
invoke-static {p0}, Ly/h/f;->toList(Ljava/lang/Iterable;)Ljava/util/List;
2020-11-12 02:11:44 +00:00
move-result-object p0
return-object p0
:cond_0
2020-11-16 22:05:17 +00:00
invoke-static {p0}, Ly/h/f;->toMutableList(Ljava/lang/Iterable;)Ljava/util/List;
2020-11-12 02:11:44 +00:00
move-result-object p0
const-string v0, "$this$reverse"
2020-11-16 22:05:17 +00:00
invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-12 02:11:44 +00:00
invoke-static {p0}, Ljava/util/Collections;->reverse(Ljava/util/List;)V
return-object p0
.end method
2020-11-16 22:05:17 +00:00
.method public static final varargs setOf([Ljava/lang/Object;)Ljava/util/Set;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">([TT;)",
"Ljava/util/Set<",
"TT;>;"
}
.end annotation
const-string v0, "elements"
invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
array-length v0, p0
if-lez v0, :cond_0
invoke-static {p0}, Lf/h/a/f/f/n/f;->toSet([Ljava/lang/Object;)Ljava/util/Set;
move-result-object p0
goto :goto_0
:cond_0
sget-object p0, Ly/h/n;->d:Ly/h/n;
:goto_0
return-object p0
.end method
2020-11-12 02:11:44 +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-string v0, "$this$slice"
2020-11-16 22:05:17 +00:00
invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-12 02:11:44 +00:00
const-string v0, "indices"
2020-11-16 22:05:17 +00:00
invoke-static {p1, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-12 02:11:44 +00:00
invoke-virtual {p1}, Lkotlin/ranges/IntRange;->isEmpty()Z
move-result v0
if-eqz v0, :cond_0
2020-11-16 22:05:17 +00:00
sget-object p0, Ly/h/l;->d:Ly/h/l;
2020-11-12 02:11:44 +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-11-16 22:05:17 +00:00
invoke-static {p0}, Ly/h/f;->toList(Ljava/lang/Iterable;)Ljava/util/List;
2020-11-12 02:11:44 +00:00
move-result-object p0
return-object p0
.end method
.method public static final sorted(Ljava/lang/Iterable;)Ljava/util/List;
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"<T::",
"Ljava/lang/Comparable<",
"-TT;>;>(",
"Ljava/lang/Iterable<",
"+TT;>;)",
"Ljava/util/List<",
"TT;>;"
}
.end annotation
const-string v0, "$this$sorted"
2020-11-16 22:05:17 +00:00
invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-12 02:11:44 +00:00
instance-of v0, p0, Ljava/util/Collection;
2020-11-16 22:05:17 +00:00
if-eqz v0, :cond_2
2020-11-12 02:11:44 +00:00
move-object v0, p0
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
2020-11-16 22:05:17 +00:00
invoke-static {p0}, Ly/h/f;->toList(Ljava/lang/Iterable;)Ljava/util/List;
2020-11-12 02:11:44 +00:00
move-result-object p0
return-object p0
:cond_0
const/4 p0, 0x0
new-array p0, p0, [Ljava/lang/Comparable;
invoke-interface {v0, p0}, Ljava/util/Collection;->toArray([Ljava/lang/Object;)[Ljava/lang/Object;
move-result-object p0
2020-11-16 22:05:17 +00:00
const-string v0, "null cannot be cast to non-null type kotlin.Array<T>"
invoke-static {p0, v0}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
2020-11-12 02:11:44 +00:00
check-cast p0, [Ljava/lang/Comparable;
const-string v0, "$this$sort"
2020-11-16 22:05:17 +00:00
invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-12 02:11:44 +00:00
array-length v0, p0
if-le v0, v2, :cond_1
invoke-static {p0}, Ljava/util/Arrays;->sort([Ljava/lang/Object;)V
:cond_1
2020-11-16 22:05:17 +00:00
invoke-static {p0}, Ly/h/f;->asList([Ljava/lang/Object;)Ljava/util/List;
2020-11-12 02:11:44 +00:00
move-result-object p0
return-object p0
:cond_2
2020-11-16 22:05:17 +00:00
invoke-static {p0}, Ly/h/f;->toMutableList(Ljava/lang/Iterable;)Ljava/util/List;
2020-11-12 02:11:44 +00:00
move-result-object p0
invoke-static {p0}, Lf/h/a/f/f/n/f;->sort(Ljava/util/List;)V
return-object p0
.end method
.method public static final sortedWith(Ljava/lang/Iterable;Ljava/util/Comparator;)Ljava/util/List;
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/Iterable<",
"+TT;>;",
"Ljava/util/Comparator<",
"-TT;>;)",
"Ljava/util/List<",
"TT;>;"
}
.end annotation
const-string v0, "$this$sortedWith"
2020-11-16 22:05:17 +00:00
invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-12 02:11:44 +00:00
const-string v0, "comparator"
2020-11-16 22:05:17 +00:00
invoke-static {p1, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-12 02:11:44 +00:00
instance-of v1, p0, Ljava/util/Collection;
2020-11-16 22:05:17 +00:00
if-eqz v1, :cond_2
2020-11-12 02:11:44 +00:00
move-object v1, p0
check-cast v1, Ljava/util/Collection;
invoke-interface {v1}, Ljava/util/Collection;->size()I
move-result v2
const/4 v3, 0x1
if-gt v2, v3, :cond_0
2020-11-16 22:05:17 +00:00
invoke-static {p0}, Ly/h/f;->toList(Ljava/lang/Iterable;)Ljava/util/List;
2020-11-12 02:11:44 +00:00
move-result-object p0
return-object p0
:cond_0
const/4 p0, 0x0
new-array p0, p0, [Ljava/lang/Object;
invoke-interface {v1, p0}, Ljava/util/Collection;->toArray([Ljava/lang/Object;)[Ljava/lang/Object;
move-result-object p0
2020-11-16 22:05:17 +00:00
const-string v1, "null cannot be cast to non-null type kotlin.Array<T>"
invoke-static {p0, v1}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
2020-11-12 02:11:44 +00:00
const-string v1, "$this$sortWith"
2020-11-16 22:05:17 +00:00
invoke-static {p0, v1}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-static {p1, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-12 02:11:44 +00:00
array-length v0, p0
if-le v0, v3, :cond_1
invoke-static {p0, p1}, Ljava/util/Arrays;->sort([Ljava/lang/Object;Ljava/util/Comparator;)V
:cond_1
2020-11-16 22:05:17 +00:00
invoke-static {p0}, Ly/h/f;->asList([Ljava/lang/Object;)Ljava/util/List;
2020-11-12 02:11:44 +00:00
move-result-object p0
return-object p0
:cond_2
2020-11-16 22:05:17 +00:00
invoke-static {p0}, Ly/h/f;->toMutableList(Ljava/lang/Iterable;)Ljava/util/List;
2020-11-12 02:11:44 +00:00
move-result-object p0
invoke-static {p0, p1}, Lf/h/a/f/f/n/f;->sortWith(Ljava/util/List;Ljava/util/Comparator;)V
return-object p0
.end method
.method public static final sumOfFloat(Ljava/lang/Iterable;)F
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Iterable<",
"Ljava/lang/Float;",
">;)F"
}
.end annotation
const-string v0, "$this$sum"
2020-11-16 22:05:17 +00:00
invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-12 02:11:44 +00:00
invoke-interface {p0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
move-result-object p0
const/4 v0, 0x0
:goto_0
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
move-result v1
if-eqz v1, :cond_0
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v1
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
.end method
.method public static final sumOfInt(Ljava/lang/Iterable;)I
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Iterable<",
"Ljava/lang/Integer;",
">;)I"
}
.end annotation
const-string v0, "$this$sum"
2020-11-16 22:05:17 +00:00
invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-12 02:11:44 +00:00
invoke-interface {p0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
move-result-object p0
const/4 v0, 0x0
:goto_0
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
move-result v1
if-eqz v1, :cond_0
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v1
check-cast v1, Ljava/lang/Number;
invoke-virtual {v1}, Ljava/lang/Number;->intValue()I
move-result v1
add-int/2addr v0, v1
goto :goto_0
:cond_0
return v0
.end method
.method public static final sumOfLong(Ljava/lang/Iterable;)J
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Iterable<",
"Ljava/lang/Long;",
">;)J"
}
.end annotation
const-string v0, "$this$sum"
2020-11-16 22:05:17 +00:00
invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-12 02:11:44 +00:00
invoke-interface {p0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
move-result-object p0
const-wide/16 v0, 0x0
: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;->longValue()J
move-result-wide v2
add-long/2addr v0, v2
goto :goto_0
:cond_0
return-wide v0
.end method
.method public static final take(Ljava/lang/Iterable;I)Ljava/util/List;
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/Iterable<",
"+TT;>;I)",
"Ljava/util/List<",
"TT;>;"
}
.end annotation
const-string v0, "$this$take"
2020-11-16 22:05:17 +00:00
invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-12 02:11:44 +00:00
const/4 v0, 0x1
const/4 v1, 0x0
if-ltz p1, :cond_0
const/4 v2, 0x1
goto :goto_0
:cond_0
const/4 v2, 0x0
:goto_0
if-eqz v2, :cond_6
if-nez p1, :cond_1
2020-11-16 22:05:17 +00:00
sget-object p0, Ly/h/l;->d:Ly/h/l;
2020-11-12 02:11:44 +00:00
return-object p0
: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-11-16 22:05:17 +00:00
invoke-static {p0}, Ly/h/f;->toList(Ljava/lang/Iterable;)Ljava/util/List;
2020-11-12 02:11:44 +00:00
move-result-object p0
return-object p0
:cond_2
if-ne p1, v0, :cond_3
2020-11-16 22:05:17 +00:00
invoke-static {p0}, Ly/h/f;->first(Ljava/lang/Iterable;)Ljava/lang/Object;
2020-11-12 02:11:44 +00:00
move-result-object p0
invoke-static {p0}, Lf/h/a/f/f/n/f;->listOf(Ljava/lang/Object;)Ljava/util/List;
move-result-object p0
return-object p0
:cond_3
new-instance v2, Ljava/util/ArrayList;
invoke-direct {v2, p1}, Ljava/util/ArrayList;-><init>(I)V
invoke-interface {p0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
move-result-object p0
:cond_4
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
move-result v3
if-eqz v3, :cond_5
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v3
invoke-virtual {v2, v3}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
add-int/2addr v1, v0
if-ne v1, p1, :cond_4
:cond_5
2020-11-16 22:05:17 +00:00
invoke-static {v2}, Ly/h/f;->optimizeReadOnlyList(Ljava/util/List;)Ljava/util/List;
2020-11-12 02:11:44 +00:00
move-result-object p0
return-object p0
:cond_6
const-string p0, "Requested element count "
const-string v0, " is less than zero."
2020-11-16 22:05:17 +00:00
invoke-static {p0, p1, v0}, Lf/e/c/a/a;->k(Ljava/lang/String;ILjava/lang/String;)Ljava/lang/String;
2020-11-12 02:11:44 +00:00
move-result-object p0
new-instance p1, Ljava/lang/IllegalArgumentException;
invoke-virtual {p0}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object p0
invoke-direct {p1, p0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p1
.end method
.method public static final takeLast(Ljava/util/List;I)Ljava/util/List;
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/util/List<",
"+TT;>;I)",
"Ljava/util/List<",
"TT;>;"
}
.end annotation
const-string v0, "$this$takeLast"
2020-11-16 22:05:17 +00:00
invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-12 02:11:44 +00:00
const/4 v0, 0x1
if-ltz p1, :cond_0
const/4 v1, 0x1
goto :goto_0
:cond_0
const/4 v1, 0x0
:goto_0
if-eqz v1, :cond_5
if-nez p1, :cond_1
2020-11-16 22:05:17 +00:00
sget-object p0, Ly/h/l;->d:Ly/h/l;
2020-11-12 02:11:44 +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-11-16 22:05:17 +00:00
invoke-static {p0}, Ly/h/f;->toList(Ljava/lang/Iterable;)Ljava/util/List;
2020-11-12 02:11:44 +00:00
move-result-object p0
return-object p0
:cond_2
if-ne p1, v0, :cond_3
2020-11-16 22:05:17 +00:00
invoke-static {p0}, Ly/h/f;->last(Ljava/util/List;)Ljava/lang/Object;
2020-11-12 02:11:44 +00:00
move-result-object p0
invoke-static {p0}, Lf/h/a/f/f/n/f;->listOf(Ljava/lang/Object;)Ljava/util/List;
move-result-object p0
return-object p0
:cond_3
new-instance v0, Ljava/util/ArrayList;
invoke-direct {v0, p1}, Ljava/util/ArrayList;-><init>(I)V
sub-int p1, v1, p1
:goto_1
if-ge p1, v1, :cond_4
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
goto :goto_1
:cond_4
return-object v0
:cond_5
const-string p0, "Requested element count "
const-string v0, " is less than zero."
2020-11-16 22:05:17 +00:00
invoke-static {p0, p1, v0}, Lf/e/c/a/a;->k(Ljava/lang/String;ILjava/lang/String;)Ljava/lang/String;
2020-11-12 02:11:44 +00:00
move-result-object p0
new-instance p1, Ljava/lang/IllegalArgumentException;
invoke-virtual {p0}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object p0
invoke-direct {p1, p0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p1
.end method
2020-11-16 22:05:17 +00:00
.method public static final throwCountOverflow()V
.locals 2
new-instance v0, Ljava/lang/ArithmeticException;
const-string v1, "Count overflow has happened."
invoke-direct {v0, v1}, Ljava/lang/ArithmeticException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public static final throwIndexOverflow()V
.locals 2
new-instance v0, Ljava/lang/ArithmeticException;
const-string v1, "Index overflow has happened."
invoke-direct {v0, v1}, Ljava/lang/ArithmeticException;-><init>(Ljava/lang/String;)V
throw v0
.end method
2020-11-12 02:11:44 +00:00
.method public static final toByteArray(Ljava/util/Collection;)[B
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Collection<",
"Ljava/lang/Byte;",
">;)[B"
}
.end annotation
const-string v0, "$this$toByteArray"
2020-11-16 22:05:17 +00:00
invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-12 02:11:44 +00:00
invoke-interface {p0}, Ljava/util/Collection;->size()I
move-result v0
new-array v0, v0, [B
invoke-interface {p0}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;
move-result-object p0
const/4 v1, 0x0
: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;->byteValue()B
move-result v2
add-int/lit8 v3, v1, 0x1
aput-byte v2, v0, v1
move v1, v3
goto :goto_0
:cond_0
return-object v0
.end method
.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
const-string v0, "$this$toCollection"
2020-11-16 22:05:17 +00:00
invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-12 02:11:44 +00:00
const-string v0, "destination"
2020-11-16 22:05:17 +00:00
invoke-static {p1, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-12 02:11:44 +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
if-eqz v0, :cond_0
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v0
invoke-interface {p1, v0}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
goto :goto_0
:cond_0
return-object p1
.end method
.method public static final toHashSet(Ljava/lang/Iterable;)Ljava/util/HashSet;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/Iterable<",
"+TT;>;)",
"Ljava/util/HashSet<",
"TT;>;"
}
.end annotation
const-string v0, "$this$toHashSet"
2020-11-16 22:05:17 +00:00
invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-12 02:11:44 +00:00
new-instance v0, Ljava/util/HashSet;
const/16 v1, 0xc
invoke-static {p0, v1}, Lf/h/a/f/f/n/f;->collectionSizeOrDefault(Ljava/lang/Iterable;I)I
move-result v1
invoke-static {v1}, Lf/h/a/f/f/n/f;->mapCapacity(I)I
move-result v1
invoke-direct {v0, v1}, Ljava/util/HashSet;-><init>(I)V
2020-11-16 22:05:17 +00:00
invoke-static {p0, v0}, Ly/h/f;->toCollection(Ljava/lang/Iterable;Ljava/util/Collection;)Ljava/util/Collection;
2020-11-12 02:11:44 +00:00
check-cast v0, Ljava/util/HashSet;
return-object v0
.end method
.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
const-string v0, "$this$toIntArray"
2020-11-16 22:05:17 +00:00
invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-12 02:11:44 +00:00
invoke-interface {p0}, Ljava/util/Collection;->size()I
move-result v0
new-array v0, v0, [I
invoke-interface {p0}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;
move-result-object p0
const/4 v1, 0x0
: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
.end method
.method public static final toList(Ljava/lang/Iterable;)Ljava/util/List;
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/Iterable<",
"+TT;>;)",
"Ljava/util/List<",
"TT;>;"
}
.end annotation
const-string v0, "$this$toList"
2020-11-16 22:05:17 +00:00
invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-12 02:11:44 +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-11-16 22:05:17 +00:00
invoke-static {v0}, Ly/h/f;->toMutableList(Ljava/util/Collection;)Ljava/util/List;
2020-11-12 02:11:44 +00:00
move-result-object p0
goto :goto_1
: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
invoke-static {p0}, Lf/h/a/f/f/n/f;->listOf(Ljava/lang/Object;)Ljava/util/List;
move-result-object p0
goto :goto_1
:cond_2
2020-11-16 22:05:17 +00:00
sget-object p0, Ly/h/l;->d:Ly/h/l;
2020-11-12 02:11:44 +00:00
:goto_1
return-object p0
:cond_3
2020-11-16 22:05:17 +00:00
invoke-static {p0}, Ly/h/f;->toMutableList(Ljava/lang/Iterable;)Ljava/util/List;
2020-11-12 02:11:44 +00:00
move-result-object p0
2020-11-16 22:05:17 +00:00
invoke-static {p0}, Ly/h/f;->optimizeReadOnlyList(Ljava/util/List;)Ljava/util/List;
2020-11-12 02:11:44 +00:00
move-result-object p0
return-object p0
.end method
.method public static final toLongArray(Ljava/util/Collection;)[J
.locals 5
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Collection<",
"Ljava/lang/Long;",
">;)[J"
}
.end annotation
const-string v0, "$this$toLongArray"
2020-11-16 22:05:17 +00:00
invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-12 02:11:44 +00:00
invoke-interface {p0}, Ljava/util/Collection;->size()I
move-result v0
new-array v0, v0, [J
invoke-interface {p0}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;
move-result-object p0
const/4 v1, 0x0
: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;->longValue()J
move-result-wide v2
add-int/lit8 v4, v1, 0x1
aput-wide v2, v0, v1
move v1, v4
goto :goto_0
:cond_0
return-object v0
.end method
2020-11-16 22:05:17 +00:00
.method public static final toMap(Ljava/lang/Iterable;)Ljava/util/Map;
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"<K:",
"Ljava/lang/Object;",
"V:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/Iterable<",
"+",
"Lkotlin/Pair<",
"+TK;+TV;>;>;)",
"Ljava/util/Map<",
"TK;TV;>;"
}
.end annotation
const-string v0, "$this$toMap"
invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
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_1
const/4 v2, 0x1
if-eq v1, v2, :cond_0
new-instance v1, Ljava/util/LinkedHashMap;
invoke-interface {v0}, Ljava/util/Collection;->size()I
move-result v0
invoke-static {v0}, Lf/h/a/f/f/n/f;->mapCapacity(I)I
move-result v0
invoke-direct {v1, v0}, Ljava/util/LinkedHashMap;-><init>(I)V
invoke-static {p0, v1}, Ly/h/f;->toMap(Ljava/lang/Iterable;Ljava/util/Map;)Ljava/util/Map;
goto :goto_0
:cond_0
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
check-cast p0, Lkotlin/Pair;
invoke-static {p0}, Lf/h/a/f/f/n/f;->mapOf(Lkotlin/Pair;)Ljava/util/Map;
move-result-object v1
goto :goto_0
:cond_1
sget-object v1, Ly/h/m;->d:Ly/h/m;
:goto_0
return-object v1
.end method
.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-string v0, "$this$toMap"
invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "destination"
invoke-static {p1, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "$this$putAll"
invoke-static {p1, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "pairs"
invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
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
.end method
.method public static final toMap(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
const-string v0, "$this$toMap"
invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
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
invoke-static {p0}, Ly/h/f;->toMutableMap(Ljava/util/Map;)Ljava/util/Map;
move-result-object p0
goto :goto_0
:cond_0
invoke-static {p0}, Lf/h/a/f/f/n/f;->toSingletonMap(Ljava/util/Map;)Ljava/util/Map;
move-result-object p0
goto :goto_0
:cond_1
sget-object p0, Ly/h/m;->d:Ly/h/m;
:goto_0
return-object p0
.end method
2020-11-12 02:11:44 +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
const-string v0, "$this$toMutableList"
2020-11-16 22:05:17 +00:00
invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-12 02:11:44 +00:00
instance-of v0, p0, Ljava/util/Collection;
if-eqz v0, :cond_0
check-cast p0, Ljava/util/Collection;
2020-11-16 22:05:17 +00:00
invoke-static {p0}, Ly/h/f;->toMutableList(Ljava/util/Collection;)Ljava/util/List;
2020-11-12 02:11:44 +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
2020-11-16 22:05:17 +00:00
invoke-static {p0, v0}, Ly/h/f;->toCollection(Ljava/lang/Iterable;Ljava/util/Collection;)Ljava/util/Collection;
2020-11-12 02:11:44 +00:00
return-object v0
.end method
.method public static final toMutableList(Ljava/util/Collection;)Ljava/util/List;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/util/Collection<",
"+TT;>;)",
"Ljava/util/List<",
"TT;>;"
}
.end annotation
const-string v0, "$this$toMutableList"
2020-11-16 22:05:17 +00:00
invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-12 02:11:44 +00:00
new-instance v0, Ljava/util/ArrayList;
invoke-direct {v0, p0}, Ljava/util/ArrayList;-><init>(Ljava/util/Collection;)V
return-object v0
.end method
2020-11-16 22:05:17 +00:00
.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
const-string v0, "$this$toMutableMap"
invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
new-instance v0, Ljava/util/LinkedHashMap;
invoke-direct {v0, p0}, Ljava/util/LinkedHashMap;-><init>(Ljava/util/Map;)V
return-object v0
.end method
2020-11-12 02:11:44 +00:00
.method public static final toMutableSet(Ljava/lang/Iterable;)Ljava/util/Set;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/Iterable<",
"+TT;>;)",
"Ljava/util/Set<",
"TT;>;"
}
.end annotation
const-string v0, "$this$toMutableSet"
2020-11-16 22:05:17 +00:00
invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-12 02:11:44 +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
goto :goto_0
:cond_0
new-instance v0, Ljava/util/LinkedHashSet;
invoke-direct {v0}, Ljava/util/LinkedHashSet;-><init>()V
2020-11-16 22:05:17 +00:00
invoke-static {p0, v0}, Ly/h/f;->toCollection(Ljava/lang/Iterable;Ljava/util/Collection;)Ljava/util/Collection;
2020-11-12 02:11:44 +00:00
check-cast v0, Ljava/util/LinkedHashSet;
:goto_0
return-object v0
.end method
.method public static final toSet(Ljava/lang/Iterable;)Ljava/util/Set;
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/Iterable<",
"+TT;>;)",
"Ljava/util/Set<",
"TT;>;"
}
.end annotation
const-string v0, "$this$toSet"
2020-11-16 22:05:17 +00:00
invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-12 02:11:44 +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
new-instance v1, Ljava/util/LinkedHashSet;
invoke-interface {v0}, Ljava/util/Collection;->size()I
move-result v0
invoke-static {v0}, Lf/h/a/f/f/n/f;->mapCapacity(I)I
move-result v0
invoke-direct {v1, v0}, Ljava/util/LinkedHashSet;-><init>(I)V
2020-11-16 22:05:17 +00:00
invoke-static {p0, v1}, Ly/h/f;->toCollection(Ljava/lang/Iterable;Ljava/util/Collection;)Ljava/util/Collection;
2020-11-12 02:11:44 +00:00
goto :goto_1
: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
invoke-static {p0}, Lf/h/a/f/f/n/f;->setOf(Ljava/lang/Object;)Ljava/util/Set;
move-result-object v1
goto :goto_1
:cond_2
2020-11-16 22:05:17 +00:00
sget-object v1, Ly/h/n;->d:Ly/h/n;
2020-11-12 02:11:44 +00:00
:goto_1
return-object v1
:cond_3
new-instance v0, Ljava/util/LinkedHashSet;
invoke-direct {v0}, Ljava/util/LinkedHashSet;-><init>()V
2020-11-16 22:05:17 +00:00
invoke-static {p0, v0}, Ly/h/f;->toCollection(Ljava/lang/Iterable;Ljava/util/Collection;)Ljava/util/Collection;
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-static {v0}, Ly/h/f;->optimizeReadOnlySet(Ljava/util/Set;)Ljava/util/Set;
2020-11-12 02:11:44 +00:00
move-result-object p0
return-object p0
.end method
.method public static final union(Ljava/lang/Iterable;Ljava/lang/Iterable;)Ljava/util/Set;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/Iterable<",
"+TT;>;",
"Ljava/lang/Iterable<",
"+TT;>;)",
"Ljava/util/Set<",
"TT;>;"
}
.end annotation
const-string v0, "$this$union"
2020-11-16 22:05:17 +00:00
invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-12 02:11:44 +00:00
const-string v0, "other"
2020-11-16 22:05:17 +00:00
invoke-static {p1, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-static {p0}, Ly/h/f;->toMutableSet(Ljava/lang/Iterable;)Ljava/util/Set;
2020-11-12 02:11:44 +00:00
move-result-object p0
2020-11-16 22:05:17 +00:00
invoke-static {p0, p1}, Ly/h/f;->addAll(Ljava/util/Collection;Ljava/lang/Iterable;)Z
2020-11-12 02:11:44 +00:00
return-object p0
.end method