64 lines
1.5 KiB
Smali
64 lines
1.5 KiB
Smali
.class Lrx/internal/operators/OperatorToObservableSortedList$DefaultComparableFunction;
|
|
.super Ljava/lang/Object;
|
|
.source "OperatorToObservableSortedList.java"
|
|
|
|
# interfaces
|
|
.implements Ljava/util/Comparator;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lrx/internal/operators/OperatorToObservableSortedList;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0xa
|
|
name = "DefaultComparableFunction"
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/lang/Object;",
|
|
"Ljava/util/Comparator",
|
|
"<",
|
|
"Ljava/lang/Object;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>()V
|
|
.locals 0
|
|
|
|
.prologue
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public compare(Ljava/lang/Object;Ljava/lang/Object;)I
|
|
.locals 3
|
|
.param p1, "t1" # Ljava/lang/Object;
|
|
.param p2, "t2" # Ljava/lang/Object;
|
|
|
|
.prologue
|
|
move-object v0, p1
|
|
|
|
check-cast v0, Ljava/lang/Comparable;
|
|
|
|
.local v0, "c1":Ljava/lang/Comparable;, "Ljava/lang/Comparable<Ljava/lang/Object;>;"
|
|
move-object v1, p2
|
|
|
|
check-cast v1, Ljava/lang/Comparable;
|
|
|
|
.local v1, "c2":Ljava/lang/Comparable;, "Ljava/lang/Comparable<Ljava/lang/Object;>;"
|
|
invoke-interface {v0, v1}, Ljava/lang/Comparable;->compareTo(Ljava/lang/Object;)I
|
|
|
|
move-result v2
|
|
|
|
return v2
|
|
.end method
|