76 lines
1.7 KiB
Smali
76 lines
1.7 KiB
Smali
.class final Lcom/moji/weatherprovider/parser/WeatherParser$1;
|
|
.super Ljava/lang/Object;
|
|
.source "WeatherParser.java"
|
|
|
|
# interfaces
|
|
.implements Ljava/util/Comparator;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/moji/weatherprovider/parser/WeatherParser;->a(Ljava/util/List;)V
|
|
.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<",
|
|
"Lcom/moji/weatherprovider/data/SplashList$Splash;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>()V
|
|
.locals 0
|
|
|
|
.line 110
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public a(Lcom/moji/weatherprovider/data/SplashList$Splash;Lcom/moji/weatherprovider/data/SplashList$Splash;)I
|
|
.locals 0
|
|
|
|
.line 115
|
|
iget p1, p1, Lcom/moji/weatherprovider/data/SplashList$Splash;->mPriority:I
|
|
|
|
iget p2, p2, Lcom/moji/weatherprovider/data/SplashList$Splash;->mPriority:I
|
|
|
|
if-ge p1, p2, :cond_0
|
|
|
|
const/4 p1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p1, -0x1
|
|
|
|
:goto_0
|
|
return p1
|
|
.end method
|
|
|
|
.method public synthetic compare(Ljava/lang/Object;Ljava/lang/Object;)I
|
|
.locals 0
|
|
|
|
.line 110
|
|
check-cast p1, Lcom/moji/weatherprovider/data/SplashList$Splash;
|
|
|
|
check-cast p2, Lcom/moji/weatherprovider/data/SplashList$Splash;
|
|
|
|
invoke-virtual {p0, p1, p2}, Lcom/moji/weatherprovider/parser/WeatherParser$1;->a(Lcom/moji/weatherprovider/data/SplashList$Splash;Lcom/moji/weatherprovider/data/SplashList$Splash;)I
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|