.class final Lcom/viatech/gallery/FileScanner$6; .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 ()V .locals 0 .prologue .line 76 invoke-direct {p0}, Ljava/lang/Object;->()V return-void .end method # virtual methods .method public compare(Lcom/viatech/gallery/FileInfo;Lcom/viatech/gallery/FileInfo;)I .locals 5 .prologue const/16 v4, 0x2e const/4 v3, 0x0 .line 78 iget-object v0, p1, Lcom/viatech/gallery/FileInfo;->name:Ljava/lang/String; iget-object v1, p1, Lcom/viatech/gallery/FileInfo;->name:Ljava/lang/String; invoke-virtual {v1, v4}, Ljava/lang/String;->indexOf(I)I move-result v1 invoke-virtual {v0, v3, v1}, Ljava/lang/String;->substring(II)Ljava/lang/String; move-result-object v0 .line 79 const-string v1, "[^0-9]" const-string v2, "" invoke-virtual {v0, v1, v2}, Ljava/lang/String;->replaceAll(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; move-result-object v0 .line 80 iget-object v1, p2, Lcom/viatech/gallery/FileInfo;->name:Ljava/lang/String; iget-object v2, p2, Lcom/viatech/gallery/FileInfo;->name:Ljava/lang/String; invoke-virtual {v2, v4}, Ljava/lang/String;->indexOf(I)I move-result v2 invoke-virtual {v1, v3, v2}, Ljava/lang/String;->substring(II)Ljava/lang/String; move-result-object v1 .line 81 const-string v2, "[^0-9]" const-string v3, "" invoke-virtual {v1, v2, v3}, Ljava/lang/String;->replaceAll(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; move-result-object v1 .line 82 invoke-virtual {v1, v0}, Ljava/lang/String;->compareTo(Ljava/lang/String;)I move-result v0 return v0 .end method .method public bridge synthetic compare(Ljava/lang/Object;Ljava/lang/Object;)I .locals 1 .prologue .line 76 check-cast p1, Lcom/viatech/gallery/FileInfo; check-cast p2, Lcom/viatech/gallery/FileInfo; invoke-virtual {p0, p1, p2}, Lcom/viatech/gallery/FileScanner$6;->compare(Lcom/viatech/gallery/FileInfo;Lcom/viatech/gallery/FileInfo;)I move-result v0 return v0 .end method