2020-11-09 19:03:49 +00:00
|
|
|
.class public final Ly/j/a;
|
2020-07-25 00:57:58 +00:00
|
|
|
.super Ljava/lang/Object;
|
2020-09-08 08:16:32 +00:00
|
|
|
.source "Comparisons.kt"
|
2020-07-25 00:57:58 +00:00
|
|
|
|
2020-11-05 03:48:39 +00:00
|
|
|
# interfaces
|
|
|
|
.implements Ljava/util/Comparator;
|
2020-07-25 00:57:58 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-11-05 03:48:39 +00:00
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<T:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
"Ljava/util/Comparator<",
|
|
|
|
"TT;>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
|
2020-11-05 03:48:39 +00:00
|
|
|
# instance fields
|
|
|
|
.field public final synthetic d:[Lkotlin/jvm/functions/Function1;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
|
2020-11-05 03:48:39 +00:00
|
|
|
# direct methods
|
|
|
|
.method public constructor <init>([Lkotlin/jvm/functions/Function1;)V
|
2020-07-25 00:57:58 +00:00
|
|
|
.locals 0
|
|
|
|
|
2020-11-09 19:03:49 +00:00
|
|
|
iput-object p1, p0, Ly/j/a;->d:[Lkotlin/jvm/functions/Function1;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-11-05 03:48:39 +00:00
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-11-05 03:48:39 +00:00
|
|
|
return-void
|
2020-09-16 23:45:23 +00:00
|
|
|
.end method
|
|
|
|
|
|
|
|
|
2020-11-05 03:48:39 +00:00
|
|
|
# virtual methods
|
|
|
|
.method public final compare(Ljava/lang/Object;Ljava/lang/Object;)I
|
|
|
|
.locals 6
|
2020-09-16 23:45:23 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
2020-11-05 03:48:39 +00:00
|
|
|
"(TT;TT;)I"
|
2020-09-16 23:45:23 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2020-11-09 19:03:49 +00:00
|
|
|
iget-object v0, p0, Ly/j/a;->d:[Lkotlin/jvm/functions/Function1;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-11-05 03:48:39 +00:00
|
|
|
array-length v1, v0
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-11-05 03:48:39 +00:00
|
|
|
const/4 v2, 0x0
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-11-05 03:48:39 +00:00
|
|
|
const/4 v3, 0x0
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
:goto_0
|
2020-11-05 03:48:39 +00:00
|
|
|
if-ge v3, v1, :cond_1
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-11-05 03:48:39 +00:00
|
|
|
aget-object v4, v0, v3
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-11-05 03:48:39 +00:00
|
|
|
invoke-interface {v4, p1}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-11-05 03:48:39 +00:00
|
|
|
move-result-object v5
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-11-05 03:48:39 +00:00
|
|
|
check-cast v5, Ljava/lang/Comparable;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-11-05 03:48:39 +00:00
|
|
|
invoke-interface {v4, p2}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-11-05 03:48:39 +00:00
|
|
|
move-result-object v4
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-11-05 03:48:39 +00:00
|
|
|
check-cast v4, Ljava/lang/Comparable;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-11-09 19:03:49 +00:00
|
|
|
invoke-static {v5, v4}, Ly/i/s;->compareValues(Ljava/lang/Comparable;Ljava/lang/Comparable;)I
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-11-05 03:48:39 +00:00
|
|
|
move-result v4
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-11-05 03:48:39 +00:00
|
|
|
if-eqz v4, :cond_0
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-11-05 03:48:39 +00:00
|
|
|
move v2, v4
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-11-05 03:48:39 +00:00
|
|
|
goto :goto_1
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
:cond_0
|
2020-11-05 03:48:39 +00:00
|
|
|
add-int/lit8 v3, v3, 0x1
|
2020-07-25 00:57:58 +00:00
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_1
|
2020-11-05 03:48:39 +00:00
|
|
|
:goto_1
|
2020-09-08 08:16:32 +00:00
|
|
|
return v2
|
2020-07-25 00:57:58 +00:00
|
|
|
.end method
|