Rabbit-R1/switch port/smali/smali_classes3/kotlin/collections/CollectionsKt___CollectionsJvmKt.smali

887 lines
28 KiB
Smali
Raw Normal View History

2024-05-21 16:08:36 -05:00
.class Lkotlin/collections/CollectionsKt___CollectionsJvmKt;
.super Lkotlin/collections/CollectionsKt__ReversedViewsKt;
.source "_CollectionsJvm.kt"
# annotations
.annotation system Ldalvik/annotation/SourceDebugExtension;
value = "SMAP\n_CollectionsJvm.kt\nKotlin\n*S Kotlin\n*F\n+ 1 _CollectionsJvm.kt\nkotlin/collections/CollectionsKt___CollectionsJvmKt\n+ 2 _Collections.kt\nkotlin/collections/CollectionsKt___CollectionsKt\n*L\n1#1,168:1\n1963#2,14:169\n2333#2,14:183\n*S KotlinDebug\n*F\n+ 1 _CollectionsJvm.kt\nkotlin/collections/CollectionsKt___CollectionsJvmKt\n*L\n89#1:169,14\n126#1:183,14\n*E\n"
.end annotation
.annotation runtime Lkotlin/Metadata;
d1 = {
"\u0000d\n\u0000\n\u0002\u0010 \n\u0000\n\u0002\u0010\u001c\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0010\u001f\n\u0002\u0008\u0004\n\u0002\u0010\u000f\n\u0000\n\u0002\u0010\u0006\n\u0000\n\u0002\u0010\u0007\n\u0002\u0008\u0003\n\u0002\u0018\u0002\n\u0002\u0008\u0003\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0005\n\u0002\u0010\u0002\n\u0002\u0010!\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0000\u001a(\u0010\u0000\u001a\u0008\u0012\u0004\u0012\u0002H\u00020\u0001\"\u0004\u0008\u0000\u0010\u0002*\u0006\u0012\u0002\u0008\u00030\u00032\u000c\u0010\u0004\u001a\u0008\u0012\u0004\u0012\u0002H\u00020\u0005\u001aA\u0010\u0006\u001a\u0002H\u0007\"\u0010\u0008\u0000\u0010\u0007*\n\u0012\u0006\u0008\u0000\u0012\u0002H\u00020\u0008\"\u0004\u0008\u0001\u0010\u0002*\u0006\u0012\u0002\u0008\u00030\u00032\u0006\u0010\t\u001a\u0002H\u00072\u000c\u0010\u0004\u001a\u0008\u0012\u0004\u0012\u0002H\u00020\u0005\u00a2\u0006\u0002\u0010\n\u001a)\u0010\u000b\u001a\u0004\u0018\u0001H\u000c\"\u000e\u0008\u0000\u0010\u000c*\u0008\u0012\u0004\u0012\u0002H\u000c0\r*\u0008\u0012\u0004\u0012\u0002H\u000c0\u0003H\u0007\u00a2\u0006\u0002\u0010\u000e\u001a\u0019\u0010\u000b\u001a\u0004\u0018\u00010\u000f*\u0008\u0012\u0004\u0012\u00020\u000f0\u0003H\u0007\u00a2\u0006\u0002\u0010\u0010\u001a\u0019\u0010\u000b\u001a\u0004\u0018\u00010\u0011*\u0008\u0012\u0004\u0012\u00020\u00110\u0003H\u0007\u00a2\u0006\u0002\u0010\u0012\u001aG\u0010\u0013\u001a\u0004\u0018\u0001H\u000c\"\u0004\u0008\u0000\u0010\u000c\"\u000e\u0008\u0001\u0010\u0002*\u0008\u0012\u0004\u0012\u0002H\u00020\r*\u0008\u0012\u0004\u0012\u0002H\u000c0\u00032\u0012\u0010\u0014\u001a\u000e\u0012\u0004\u0012\u0002H\u000c\u0012\u0004\u0012\u0002H\u00020\u0015H\u0087\u0008\u00f8\u0001\u0000\u00a2\u0006\u0002\u0010\u0016\u001a;\u0010\u0017\u001a\u0004\u0018\u0001H\u000c\"\u0004\u0008\u0000\u0010\u000c*\u0008\u0012\u0004\u0012\u0002H\u000c0\u00032\u001a\u0010\u0018\u001a\u0016\u0012\u0006\u0008\u0000\u0012\u0002H\u000c0\u0019j\n\u0012\u0006\u0008\u0000\u0012\u0002H\u000c`\u001aH\u0007\u00a2\u0006\u0002\u0010\u001b\u001a)\u0010\u001c\u001a\u0004\u0018\u0001H\u000c\"\u000e\u0008\u0000\u0010\u000c*\u0008\u0012\u0004\u0012\u0002H\u000c0\r*\u0008\u0012\u0004\u0012\u0002H\u000c0\u0003H\u0007\u00a2\u0006\u0002\u0010\u000e\u001a\u0019\u0010\u001c\u001a\u0004\u0018\u00010\u000f*\u0008\u0012\u0004\u0012\u00020\u000f0\u0003H\u0007\u00a2\u0006\u0002\u0010\u0010\u001a\u0019\u0010\u001c\u001a\u0004\u0018\u00010\u0011*\u0008\u0012\u0004\u0012\u00020\u00110\u0003H\u0007\u00a2\u0006\u0002\u0010\u0012\u001aG\u0010\u001d\u001a\u0004\u0018\u0001H\u000c\"\u0004\u0008\u0000\u0010\u000c\"\u000e\u0008\u0001\u0010\u0002*\u0008\u0012\u0004\u0012\u0002H\u00020\r*\u0008\u0012\u0004\u0012\u0002H\u000c0\u00032\u0012\u0010\u0014\u001a\u000e\u0012\u0004\u0012\u0002H\u000c\u0012\u0004\u0012\u0002H\u00020\u0015H\u0087\u0008\u00f8\u0001\u0000\u00a2\u0006\u0002\u0010\u0016\u001a;\u0010\u001e\u001a\u0004\u0018\u0001H\u000c\"\u0004\u0008\u0000\u0010\u000c*\u0008\u0012\u0004\u0012\u0002H\u000c0\u00032\u001a\u0010\u0018\u001a\u0016\u0012\u0006\u0008\u0000\u0012\u0002H\u000c0\u0019j\n\u0012\u0006\u0008\u0000\u0012\u0002H\u000c`\u001aH\u0007\u00a2\u0006\u0002\u0010\u001b\u001a\u0016\u0010\u001f\u001a\u00020 \"\u0004\u0008\u0000\u0010\u000c*\u0008\u0012\u0004\u0012\u0002H\u000c0!\u001a5\u0010\"\u001a\u00020#\"\u0004\u0008\u0000\u0010\u000c*\u0008\u0012\u0004\u0012\u0002H\u000c0\u00032\u0012\u0010\u0014\u001a\u000e\u0012\u0004\u0012\u0002H\u000c\u0012\u0004\u0012\u00020#0\u0015H\u0087\u0008\u00f8\u0001\u0000\u00a2\u0006\u0002\u0008$\u001a5\u0010\"\u001a\u00020%\"\u0004\u0008\u0000\u0010\u000c*\u0008\u0012\u0004\u0012\u0002H\u000c0\u00032\u0012\u0010\u0014\u001a\u000e\u0012\u0004\u0012\u0002H\u000c\u0012\u0004\u0012\u00020%0\u0015H\u0087\u0008\u00f8\u0001\u0000\u00a2\u0006\u0002\u0008&\u001a&\u0010\'\u001a\u0008\u0012\u0004\u0012\u0002H\u000c0(\"\u000e\u0008\u0000\u0010\u000c*\u0008\u0012\u0004\u0012\u0002H\u000c0\r*\u0008\u0012\u0004\u0012\u0002H\u000c0\u0
}
d2 = {
"filterIsInstance",
"",
"R",
"",
"klass",
"Ljava/lang/Class;",
"filterIsInstanceTo",
"C",
"",
"destination",
"(Ljava/lang/Iterable;Ljava/util/Collection;Ljava/lang/Class;)Ljava/util/Collection;",
"max",
"T",
"",
"(Ljava/lang/Iterable;)Ljava/lang/Comparable;",
"",
"(Ljava/lang/Iterable;)Ljava/lang/Double;",
"",
"(Ljava/lang/Iterable;)Ljava/lang/Float;",
"maxBy",
"selector",
"Lkotlin/Function1;",
"(Ljava/lang/Iterable;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object;",
"maxWith",
"comparator",
"Ljava/util/Comparator;",
"Lkotlin/Comparator;",
"(Ljava/lang/Iterable;Ljava/util/Comparator;)Ljava/lang/Object;",
"min",
"minBy",
"minWith",
"reverse",
"",
"",
"sumOf",
"Ljava/math/BigDecimal;",
"sumOfBigDecimal",
"Ljava/math/BigInteger;",
"sumOfBigInteger",
"toSortedSet",
"Ljava/util/SortedSet;",
"kotlin-stdlib"
}
k = 0x5
mv = {
0x1,
0x9,
0x0
}
xi = 0x31
xs = "kotlin/collections/CollectionsKt"
.end annotation
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Lkotlin/collections/CollectionsKt__ReversedViewsKt;-><init>()V
return-void
.end method
.method public static final filterIsInstance(Ljava/lang/Iterable;Ljava/lang/Class;)Ljava/util/List;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<R:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/Iterable<",
"*>;",
"Ljava/lang/Class<",
"TR;>;)",
"Ljava/util/List<",
"TR;>;"
}
.end annotation
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "klass"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 25
new-instance v0, Ljava/util/ArrayList;
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
check-cast v0, Ljava/util/Collection;
invoke-static {p0, v0, p1}, Lkotlin/collections/CollectionsKt;->filterIsInstanceTo(Ljava/lang/Iterable;Ljava/util/Collection;Ljava/lang/Class;)Ljava/util/Collection;
move-result-object p0
check-cast p0, Ljava/util/List;
return-object p0
.end method
.method public static final filterIsInstanceTo(Ljava/lang/Iterable;Ljava/util/Collection;Ljava/lang/Class;)Ljava/util/Collection;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"<C::",
"Ljava/util/Collection<",
"-TR;>;R:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/Iterable<",
"*>;TC;",
"Ljava/lang/Class<",
"TR;>;)TC;"
}
.end annotation
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "destination"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "klass"
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 35
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 v0
if-eqz v0, :cond_1
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v0
invoke-virtual {p2, v0}, Ljava/lang/Class;->isInstance(Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_0
invoke-interface {p1, v0}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
goto :goto_0
:cond_1
return-object p1
.end method
.method public static final synthetic max(Ljava/lang/Iterable;)Ljava/lang/Comparable;
.locals 1
.annotation runtime Lkotlin/Deprecated;
message = "Use maxOrNull instead."
replaceWith = .subannotation Lkotlin/ReplaceWith;
expression = "this.maxOrNull()"
imports = {}
.end subannotation
.end annotation
.annotation runtime Lkotlin/DeprecatedSinceKotlin;
errorSince = "1.5"
hiddenSince = "1.6"
warningSince = "1.4"
.end annotation
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 82
invoke-static {p0}, Lkotlin/collections/CollectionsKt;->maxOrNull(Ljava/lang/Iterable;)Ljava/lang/Comparable;
move-result-object p0
return-object p0
.end method
.method public static final synthetic max(Ljava/lang/Iterable;)Ljava/lang/Double;
.locals 1
.annotation runtime Lkotlin/Deprecated;
message = "Use maxOrNull instead."
replaceWith = .subannotation Lkotlin/ReplaceWith;
expression = "this.maxOrNull()"
imports = {}
.end subannotation
.end annotation
.annotation runtime Lkotlin/DeprecatedSinceKotlin;
errorSince = "1.5"
hiddenSince = "1.6"
warningSince = "1.4"
.end annotation
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 67
invoke-static {p0}, Lkotlin/collections/CollectionsKt;->maxOrNull(Ljava/lang/Iterable;)Ljava/lang/Double;
move-result-object p0
return-object p0
.end method
.method public static final synthetic max(Ljava/lang/Iterable;)Ljava/lang/Float;
.locals 1
.annotation runtime Lkotlin/Deprecated;
message = "Use maxOrNull instead."
replaceWith = .subannotation Lkotlin/ReplaceWith;
expression = "this.maxOrNull()"
imports = {}
.end subannotation
.end annotation
.annotation runtime Lkotlin/DeprecatedSinceKotlin;
errorSince = "1.5"
hiddenSince = "1.6"
warningSince = "1.4"
.end annotation
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 75
invoke-static {p0}, Lkotlin/collections/CollectionsKt;->maxOrNull(Ljava/lang/Iterable;)Ljava/lang/Float;
move-result-object p0
return-object p0
.end method
.method public static final synthetic maxBy(Ljava/lang/Iterable;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object;
.locals 5
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
"R::",
"Ljava/lang/Comparable<",
"-TR;>;>(",
"Ljava/lang/Iterable<",
"+TT;>;",
"Lkotlin/jvm/functions/Function1<",
"-TT;+TR;>;)TT;"
}
.end annotation
.annotation runtime Lkotlin/Deprecated;
message = "Use maxByOrNull instead."
replaceWith = .subannotation Lkotlin/ReplaceWith;
expression = "this.maxByOrNull(selector)"
imports = {}
.end subannotation
.end annotation
.annotation runtime Lkotlin/DeprecatedSinceKotlin;
errorSince = "1.5"
hiddenSince = "1.6"
warningSince = "1.4"
.end annotation
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "selector"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 169
invoke-interface {p0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
move-result-object p0
.line 170
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
move-result v0
if-nez v0, :cond_0
const/4 p0, 0x0
goto :goto_1
.line 171
:cond_0
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v0
.line 172
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
move-result v1
if-nez v1, :cond_1
:goto_0
move-object p0, v0
goto :goto_1
.line 173
:cond_1
invoke-interface {p1, v0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v1
check-cast v1, Ljava/lang/Comparable;
.line 175
:cond_2
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v2
.line 176
invoke-interface {p1, v2}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v3
check-cast v3, Ljava/lang/Comparable;
.line 177
invoke-interface {v1, v3}, Ljava/lang/Comparable;->compareTo(Ljava/lang/Object;)I
move-result v4
if-gez v4, :cond_3
move-object v0, v2
move-object v1, v3
.line 181
:cond_3
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
move-result v2
if-nez v2, :cond_2
goto :goto_0
:goto_1
return-object p0
.end method
.method public static final synthetic maxWith(Ljava/lang/Iterable;Ljava/util/Comparator;)Ljava/lang/Object;
.locals 1
.annotation runtime Lkotlin/Deprecated;
message = "Use maxWithOrNull instead."
replaceWith = .subannotation Lkotlin/ReplaceWith;
expression = "this.maxWithOrNull(comparator)"
imports = {}
.end subannotation
.end annotation
.annotation runtime Lkotlin/DeprecatedSinceKotlin;
errorSince = "1.5"
hiddenSince = "1.6"
warningSince = "1.4"
.end annotation
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "comparator"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 96
invoke-static {p0, p1}, Lkotlin/collections/CollectionsKt;->maxWithOrNull(Ljava/lang/Iterable;Ljava/util/Comparator;)Ljava/lang/Object;
move-result-object p0
return-object p0
.end method
.method public static final synthetic min(Ljava/lang/Iterable;)Ljava/lang/Comparable;
.locals 1
.annotation runtime Lkotlin/Deprecated;
message = "Use minOrNull instead."
replaceWith = .subannotation Lkotlin/ReplaceWith;
expression = "this.minOrNull()"
imports = {}
.end subannotation
.end annotation
.annotation runtime Lkotlin/DeprecatedSinceKotlin;
errorSince = "1.5"
hiddenSince = "1.6"
warningSince = "1.4"
.end annotation
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 119
invoke-static {p0}, Lkotlin/collections/CollectionsKt;->minOrNull(Ljava/lang/Iterable;)Ljava/lang/Comparable;
move-result-object p0
return-object p0
.end method
.method public static final synthetic min(Ljava/lang/Iterable;)Ljava/lang/Double;
.locals 1
.annotation runtime Lkotlin/Deprecated;
message = "Use minOrNull instead."
replaceWith = .subannotation Lkotlin/ReplaceWith;
expression = "this.minOrNull()"
imports = {}
.end subannotation
.end annotation
.annotation runtime Lkotlin/DeprecatedSinceKotlin;
errorSince = "1.5"
hiddenSince = "1.6"
warningSince = "1.4"
.end annotation
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 104
invoke-static {p0}, Lkotlin/collections/CollectionsKt;->minOrNull(Ljava/lang/Iterable;)Ljava/lang/Double;
move-result-object p0
return-object p0
.end method
.method public static final synthetic min(Ljava/lang/Iterable;)Ljava/lang/Float;
.locals 1
.annotation runtime Lkotlin/Deprecated;
message = "Use minOrNull instead."
replaceWith = .subannotation Lkotlin/ReplaceWith;
expression = "this.minOrNull()"
imports = {}
.end subannotation
.end annotation
.annotation runtime Lkotlin/DeprecatedSinceKotlin;
errorSince = "1.5"
hiddenSince = "1.6"
warningSince = "1.4"
.end annotation
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 112
invoke-static {p0}, Lkotlin/collections/CollectionsKt;->minOrNull(Ljava/lang/Iterable;)Ljava/lang/Float;
move-result-object p0
return-object p0
.end method
.method public static final synthetic minBy(Ljava/lang/Iterable;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object;
.locals 5
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
"R::",
"Ljava/lang/Comparable<",
"-TR;>;>(",
"Ljava/lang/Iterable<",
"+TT;>;",
"Lkotlin/jvm/functions/Function1<",
"-TT;+TR;>;)TT;"
}
.end annotation
.annotation runtime Lkotlin/Deprecated;
message = "Use minByOrNull instead."
replaceWith = .subannotation Lkotlin/ReplaceWith;
expression = "this.minByOrNull(selector)"
imports = {}
.end subannotation
.end annotation
.annotation runtime Lkotlin/DeprecatedSinceKotlin;
errorSince = "1.5"
hiddenSince = "1.6"
warningSince = "1.4"
.end annotation
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "selector"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 183
invoke-interface {p0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
move-result-object p0
.line 184
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
move-result v0
if-nez v0, :cond_0
const/4 p0, 0x0
goto :goto_1
.line 185
:cond_0
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v0
.line 186
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
move-result v1
if-nez v1, :cond_1
:goto_0
move-object p0, v0
goto :goto_1
.line 187
:cond_1
invoke-interface {p1, v0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v1
check-cast v1, Ljava/lang/Comparable;
.line 189
:cond_2
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v2
.line 190
invoke-interface {p1, v2}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v3
check-cast v3, Ljava/lang/Comparable;
.line 191
invoke-interface {v1, v3}, Ljava/lang/Comparable;->compareTo(Ljava/lang/Object;)I
move-result v4
if-lez v4, :cond_3
move-object v0, v2
move-object v1, v3
.line 195
:cond_3
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
move-result v2
if-nez v2, :cond_2
goto :goto_0
:goto_1
return-object p0
.end method
.method public static final synthetic minWith(Ljava/lang/Iterable;Ljava/util/Comparator;)Ljava/lang/Object;
.locals 1
.annotation runtime Lkotlin/Deprecated;
message = "Use minWithOrNull instead."
replaceWith = .subannotation Lkotlin/ReplaceWith;
expression = "this.minWithOrNull(comparator)"
imports = {}
.end subannotation
.end annotation
.annotation runtime Lkotlin/DeprecatedSinceKotlin;
errorSince = "1.5"
hiddenSince = "1.6"
warningSince = "1.4"
.end annotation
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "comparator"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 133
invoke-static {p0, p1}, Lkotlin/collections/CollectionsKt;->minWithOrNull(Ljava/lang/Iterable;Ljava/util/Comparator;)Ljava/lang/Object;
move-result-object p0
return-object p0
.end method
.method public static final reverse(Ljava/util/List;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/util/List<",
"TT;>;)V"
}
.end annotation
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 43
invoke-static {p0}, Ljava/util/Collections;->reverse(Ljava/util/List;)V
return-void
.end method
.method private static final sumOfBigDecimal(Ljava/lang/Iterable;Lkotlin/jvm/functions/Function1;)Ljava/math/BigDecimal;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/Iterable<",
"+TT;>;",
"Lkotlin/jvm/functions/Function1<",
"-TT;+",
"Ljava/math/BigDecimal;",
">;)",
"Ljava/math/BigDecimal;"
}
.end annotation
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "selector"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-wide/16 v0, 0x0
.line 145
invoke-static {v0, v1}, Ljava/math/BigDecimal;->valueOf(J)Ljava/math/BigDecimal;
move-result-object v0
const-string v1, "valueOf(...)"
invoke-static {v0, v1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
.line 146
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_0
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v1
.line 147
invoke-interface {p1, v1}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v1
check-cast v1, Ljava/math/BigDecimal;
invoke-virtual {v0, v1}, Ljava/math/BigDecimal;->add(Ljava/math/BigDecimal;)Ljava/math/BigDecimal;
move-result-object v0
const-string v1, "add(...)"
invoke-static {v0, v1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
goto :goto_0
:cond_0
return-object v0
.end method
.method private static final sumOfBigInteger(Ljava/lang/Iterable;Lkotlin/jvm/functions/Function1;)Ljava/math/BigInteger;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/Iterable<",
"+TT;>;",
"Lkotlin/jvm/functions/Function1<",
"-TT;+",
"Ljava/math/BigInteger;",
">;)",
"Ljava/math/BigInteger;"
}
.end annotation
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "selector"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-wide/16 v0, 0x0
.line 161
invoke-static {v0, v1}, Ljava/math/BigInteger;->valueOf(J)Ljava/math/BigInteger;
move-result-object v0
const-string v1, "valueOf(...)"
invoke-static {v0, v1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
.line 162
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_0
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v1
.line 163
invoke-interface {p1, v1}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v1
check-cast v1, Ljava/math/BigInteger;
invoke-virtual {v0, v1}, Ljava/math/BigInteger;->add(Ljava/math/BigInteger;)Ljava/math/BigInteger;
move-result-object v0
const-string v1, "add(...)"
invoke-static {v0, v1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
goto :goto_0
:cond_0
return-object v0
.end method
.method public static final toSortedSet(Ljava/lang/Iterable;)Ljava/util/SortedSet;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<T::",
"Ljava/lang/Comparable<",
"-TT;>;>(",
"Ljava/lang/Iterable<",
"+TT;>;)",
"Ljava/util/SortedSet<",
"TT;>;"
}
.end annotation
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 50
new-instance v0, Ljava/util/TreeSet;
invoke-direct {v0}, Ljava/util/TreeSet;-><init>()V
check-cast v0, Ljava/util/Collection;
invoke-static {p0, v0}, Lkotlin/collections/CollectionsKt;->toCollection(Ljava/lang/Iterable;Ljava/util/Collection;)Ljava/util/Collection;
move-result-object p0
check-cast p0, Ljava/util/SortedSet;
return-object p0
.end method
.method public static final toSortedSet(Ljava/lang/Iterable;Ljava/util/Comparator;)Ljava/util/SortedSet;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/Iterable<",
"+TT;>;",
"Ljava/util/Comparator<",
"-TT;>;)",
"Ljava/util/SortedSet<",
"TT;>;"
}
.end annotation
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "comparator"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 59
new-instance v0, Ljava/util/TreeSet;
invoke-direct {v0, p1}, Ljava/util/TreeSet;-><init>(Ljava/util/Comparator;)V
check-cast v0, Ljava/util/Collection;
invoke-static {p0, v0}, Lkotlin/collections/CollectionsKt;->toCollection(Ljava/lang/Iterable;Ljava/util/Collection;)Ljava/util/Collection;
move-result-object p0
check-cast p0, Ljava/util/SortedSet;
return-object p0
.end method