u$2.smali
.class final Lcom/tendcloud/tenddata/u$2;
.super Ljava/lang/Object;
.source "td"
# interfaces
.implements Ljava/util/Comparator;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/tendcloud/tenddata/u;->b(Lorg/json/JSONArray;I)Lorg/json/JSONArray;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x8
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Ljava/util/Comparator<",
"Lorg/json/JSONObject;",
">;"
}
.end annotation
# direct methods
.method constructor <init>()V
.registers 1
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public bridge synthetic compare(Ljava/lang/Object;Ljava/lang/Object;)I
.registers 3
.line 1
check-cast p1, Lorg/json/JSONObject;
check-cast p2, Lorg/json/JSONObject;
invoke-virtual {p0, p1, p2}, Lcom/tendcloud/tenddata/u$2;->compare(Lorg/json/JSONObject;Lorg/json/JSONObject;)I
move-result p1
return p1
.end method
.method public compare(Lorg/json/JSONObject;Lorg/json/JSONObject;)I
.registers 4
const-string v0, "networkId"
.line 2
:try_start_2
invoke-virtual {p1, v0}, Lorg/json/JSONObject;->getInt(Ljava/lang/String;)I
move-result p1
invoke-virtual {p2, v0}, Lorg/json/JSONObject;->getInt(Ljava/lang/String;)I
move-result p2
:try_end_a
.catch Ljava/lang/Throwable; {:try_start_2 .. :try_end_a} :catch_c
sub-int/2addr p1, p2
return p1
:catch_c
const/4 p1, 0x0
return p1
.end method