RLogConfig$2.smali
.class Lio/rong/common/rlog/RLogConfig$2;
.super Ljava/lang/Object;
.source "RLogConfig.java"
# interfaces
.implements Ljava/util/Comparator;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lio/rong/common/rlog/RLogConfig;->refreshZipConfig()Lio/rong/common/rlog/RLogConfig$ZipConfig;
.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<",
"Ljava/io/File;",
">;"
}
.end annotation
# instance fields
.field final synthetic this$0:Lio/rong/common/rlog/RLogConfig;
# direct methods
.method constructor <init>(Lio/rong/common/rlog/RLogConfig;)V
.registers 2
.line 1
iput-object p1, p0, Lio/rong/common/rlog/RLogConfig$2;->this$0:Lio/rong/common/rlog/RLogConfig;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public compare(Ljava/io/File;Ljava/io/File;)I
.registers 6
.line 2
invoke-virtual {p1}, Ljava/io/File;->lastModified()J
move-result-wide v0
invoke-virtual {p2}, Ljava/io/File;->lastModified()J
move-result-wide p1
sub-long/2addr v0, p1
const-wide/16 p1, 0x0
cmp-long v2, v0, p1
if-gez v2, :cond_11
const/4 p1, -0x1
goto :goto_12
:cond_11
const/4 p1, 0x1
:goto_12
return p1
.end method
.method public bridge synthetic compare(Ljava/lang/Object;Ljava/lang/Object;)I
.registers 3
.line 1
check-cast p1, Ljava/io/File;
check-cast p2, Ljava/io/File;
invoke-virtual {p0, p1, p2}, Lio/rong/common/rlog/RLogConfig$2;->compare(Ljava/io/File;Ljava/io/File;)I
move-result p1
return p1
.end method