You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
96 lines
1.9 KiB
96 lines
1.9 KiB
.class final Lcom/viatech/gallery/FileScanner$5; |
|
.super Ljava/lang/Object; |
|
.source "FileScanner.java" |
|
|
|
# interfaces |
|
.implements Ljava/util/Comparator; |
|
|
|
|
|
# annotations |
|
.annotation system Ldalvik/annotation/EnclosingClass; |
|
value = Lcom/viatech/gallery/FileScanner; |
|
.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/viatech/gallery/FileInfo;", |
|
">;" |
|
} |
|
.end annotation |
|
|
|
|
|
# direct methods |
|
.method constructor <init>()V |
|
.locals 0 |
|
|
|
.prologue |
|
.line 68 |
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V |
|
|
|
return-void |
|
.end method |
|
|
|
|
|
# virtual methods |
|
.method public compare(Lcom/viatech/gallery/FileInfo;Lcom/viatech/gallery/FileInfo;)I |
|
.locals 4 |
|
|
|
.prologue |
|
.line 70 |
|
iget-wide v0, p1, Lcom/viatech/gallery/FileInfo;->modifytime:J |
|
|
|
iget-wide v2, p2, Lcom/viatech/gallery/FileInfo;->modifytime:J |
|
|
|
cmp-long v0, v0, v2 |
|
|
|
if-nez v0, :cond_0 |
|
|
|
.line 71 |
|
const/4 v0, 0x0 |
|
|
|
.line 73 |
|
:goto_0 |
|
return v0 |
|
|
|
:cond_0 |
|
iget-wide v0, p1, Lcom/viatech/gallery/FileInfo;->modifytime:J |
|
|
|
iget-wide v2, p2, Lcom/viatech/gallery/FileInfo;->modifytime:J |
|
|
|
cmp-long v0, v0, v2 |
|
|
|
if-gez v0, :cond_1 |
|
|
|
const/4 v0, 0x1 |
|
|
|
goto :goto_0 |
|
|
|
:cond_1 |
|
const/4 v0, -0x1 |
|
|
|
goto :goto_0 |
|
.end method |
|
|
|
.method public bridge synthetic compare(Ljava/lang/Object;Ljava/lang/Object;)I |
|
.locals 1 |
|
|
|
.prologue |
|
.line 68 |
|
check-cast p1, Lcom/viatech/gallery/FileInfo; |
|
|
|
check-cast p2, Lcom/viatech/gallery/FileInfo; |
|
|
|
invoke-virtual {p0, p1, p2}, Lcom/viatech/gallery/FileScanner$5;->compare(Lcom/viatech/gallery/FileInfo;Lcom/viatech/gallery/FileInfo;)I |
|
|
|
move-result v0 |
|
|
|
return v0 |
|
.end method
|
|
|