apkfuckery/com.discord/smali/androidx/recyclerview/widget/DiffUtil$1.smali
2020-05-17 12:40:10 +00:00

73 lines
1.7 KiB
Smali

.class public final Landroidx/recyclerview/widget/DiffUtil$1;
.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;
accessFlags = 0x9
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
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public compare(Landroidx/recyclerview/widget/DiffUtil$Snake;Landroidx/recyclerview/widget/DiffUtil$Snake;)I
.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
sub-int v0, p1, p2
:cond_0
return v0
.end method
.method public bridge synthetic compare(Ljava/lang/Object;Ljava/lang/Object;)I
.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