OrionHistoryPresenter$5.smali
.class Lcom/sdk/orion/lib/history/mvp/OrionHistoryPresenter$5;
.super Ljava/lang/Object;
# interfaces
.implements Ljava/util/Comparator;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/sdk/orion/lib/history/mvp/OrionHistoryPresenter;->sortList(Ljava/util/List;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Ljava/util/Comparator",
"<",
"Lcom/sdk/orion/bean/SpeakerHistory$History;",
">;"
}
.end annotation
# instance fields
.field final synthetic this$0:Lcom/sdk/orion/lib/history/mvp/OrionHistoryPresenter;
# direct methods
.method constructor <init>(Lcom/sdk/orion/lib/history/mvp/OrionHistoryPresenter;)V
.registers 2
iput-object p1, p0, Lcom/sdk/orion/lib/history/mvp/OrionHistoryPresenter$5;->this$0:Lcom/sdk/orion/lib/history/mvp/OrionHistoryPresenter;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public compare(Lcom/sdk/orion/bean/SpeakerHistory$History;Lcom/sdk/orion/bean/SpeakerHistory$History;)I
.registers 7
if-eqz p1, :cond_18
if-eqz p2, :cond_18
iget-object v0, p1, Lcom/sdk/orion/bean/SpeakerHistory$History;->historyId:Ljava/lang/String;
invoke-static {v0}, Ljava/lang/Long;->parseLong(Ljava/lang/String;)J
move-result-wide v0
iget-object v2, p2, Lcom/sdk/orion/bean/SpeakerHistory$History;->historyId:Ljava/lang/String;
invoke-static {v2}, Ljava/lang/Long;->parseLong(Ljava/lang/String;)J
move-result-wide v2
cmp-long v0, v0, v2
if-lez v0, :cond_16
const/4 v0, 0x1
:goto_15
return v0
:cond_16
const/4 v0, -0x1
goto :goto_15
:cond_18
const/4 v0, 0x0
goto :goto_15
.end method
.method public bridge synthetic compare(Ljava/lang/Object;Ljava/lang/Object;)I
.registers 4
check-cast p1, Lcom/sdk/orion/bean/SpeakerHistory$History;
check-cast p2, Lcom/sdk/orion/bean/SpeakerHistory$History;
invoke-virtual {p0, p1, p2}, Lcom/sdk/orion/lib/history/mvp/OrionHistoryPresenter$5;->compare(Lcom/sdk/orion/bean/SpeakerHistory$History;Lcom/sdk/orion/bean/SpeakerHistory$History;)I
move-result v0
return v0
.end method