apkfuckery/com.discord/smali/androidx/recyclerview/widget/DiffUtil$1.smali

74 lines
1.7 KiB
Smali
Raw Normal View History

2019-12-06 03:29:40 +00:00
.class public final Landroidx/recyclerview/widget/DiffUtil$1;
2019-07-24 11:27:29 +00:00
.super Ljava/lang/Object;
.source "DiffUtil.java"
# interfaces
.implements Ljava/util/Comparator;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/recyclerview/widget/DiffUtil;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
2019-12-06 03:29:40 +00:00
accessFlags = 0x9
2019-07-24 11:27:29 +00:00
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Ljava/util/Comparator<",
"Landroidx/recyclerview/widget/DiffUtil$Snake;",
">;"
}
.end annotation
# direct methods
2019-12-06 03:29:40 +00:00
.method public constructor <init>()V
2019-07-24 11:27:29 +00:00
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
2019-12-06 03:29:40 +00:00
.method public compare(Landroidx/recyclerview/widget/DiffUtil$Snake;Landroidx/recyclerview/widget/DiffUtil$Snake;)I
2019-07-24 11:27:29 +00:00
.locals 2
iget v0, p1, Landroidx/recyclerview/widget/DiffUtil$Snake;->x:I
iget v1, p2, Landroidx/recyclerview/widget/DiffUtil$Snake;->x:I
sub-int/2addr v0, v1
if-nez v0, :cond_0
iget p1, p1, Landroidx/recyclerview/widget/DiffUtil$Snake;->y:I
iget p2, p2, Landroidx/recyclerview/widget/DiffUtil$Snake;->y:I
2019-12-06 03:29:40 +00:00
sub-int v0, p1, p2
2019-07-24 11:27:29 +00:00
:cond_0
return v0
.end method
2019-12-06 03:29:40 +00:00
.method public bridge synthetic compare(Ljava/lang/Object;Ljava/lang/Object;)I
2019-07-24 11:27:29 +00:00
.locals 0
check-cast p1, Landroidx/recyclerview/widget/DiffUtil$Snake;
check-cast p2, Landroidx/recyclerview/widget/DiffUtil$Snake;
invoke-virtual {p0, p1, p2}, Landroidx/recyclerview/widget/DiffUtil$1;->compare(Landroidx/recyclerview/widget/DiffUtil$Snake;Landroidx/recyclerview/widget/DiffUtil$Snake;)I
move-result p1
return p1
.end method