.class final Lcom/google/common/collect/ReverseNaturalOrdering; .super Lcom/google/common/collect/Ordering; .source "ReverseNaturalOrdering.java" # interfaces .implements Ljava/io/Serializable; # annotations .annotation build Lcom/google/common/annotations/GwtCompatible; serializable = true .end annotation .annotation system Ldalvik/annotation/Signature; value = { "Lcom/google/common/collect/Ordering", "<", "Ljava/lang/Comparable;", ">;", "Ljava/io/Serializable;" } .end annotation # static fields .field static final INSTANCE:Lcom/google/common/collect/ReverseNaturalOrdering; .field private static final serialVersionUID:J # direct methods .method static constructor ()V .locals 1 .prologue .line 31 new-instance v0, Lcom/google/common/collect/ReverseNaturalOrdering; invoke-direct {v0}, Lcom/google/common/collect/ReverseNaturalOrdering;->()V sput-object v0, Lcom/google/common/collect/ReverseNaturalOrdering;->INSTANCE:Lcom/google/common/collect/ReverseNaturalOrdering; return-void .end method .method private constructor ()V .locals 0 .prologue .line 89 invoke-direct {p0}, Lcom/google/common/collect/Ordering;->()V return-void .end method .method private readResolve()Ljava/lang/Object; .locals 1 .prologue .line 82 sget-object v0, Lcom/google/common/collect/ReverseNaturalOrdering;->INSTANCE:Lcom/google/common/collect/ReverseNaturalOrdering; return-object v0 .end method # virtual methods .method public compare(Ljava/lang/Comparable;Ljava/lang/Comparable;)I .locals 1 .prologue .line 34 invoke-static {p1}, Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object; .line 35 if-ne p1, p2, :cond_0 .line 36 const/4 v0, 0x0 .line 39 :goto_0 return v0 :cond_0 invoke-interface {p2, p1}, Ljava/lang/Comparable;->compareTo(Ljava/lang/Object;)I move-result v0 goto :goto_0 .end method .method public bridge synthetic compare(Ljava/lang/Object;Ljava/lang/Object;)I .locals 1 .prologue .line 27 check-cast p1, Ljava/lang/Comparable; check-cast p2, Ljava/lang/Comparable; invoke-virtual {p0, p1, p2}, Lcom/google/common/collect/ReverseNaturalOrdering;->compare(Ljava/lang/Comparable;Ljava/lang/Comparable;)I move-result v0 return v0 .end method .method public max(Ljava/lang/Comparable;Ljava/lang/Comparable;)Ljava/lang/Comparable; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(TE;TE;)TE;" } .end annotation .prologue .line 65 sget-object v0, Lcom/google/common/collect/NaturalOrdering;->INSTANCE:Lcom/google/common/collect/NaturalOrdering; invoke-virtual {v0, p1, p2}, Lcom/google/common/collect/NaturalOrdering;->min(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; move-result-object v0 check-cast v0, Ljava/lang/Comparable; return-object v0 .end method .method public varargs max(Ljava/lang/Comparable;Ljava/lang/Comparable;Ljava/lang/Comparable;[Ljava/lang/Comparable;)Ljava/lang/Comparable; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(TE;TE;TE;[TE;)TE;" } .end annotation .prologue .line 69 sget-object v0, Lcom/google/common/collect/NaturalOrdering;->INSTANCE:Lcom/google/common/collect/NaturalOrdering; invoke-virtual {v0, p1, p2, p3, p4}, Lcom/google/common/collect/NaturalOrdering;->min(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; move-result-object v0 check-cast v0, Ljava/lang/Comparable; return-object v0 .end method .method public max(Ljava/lang/Iterable;)Ljava/lang/Comparable; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/lang/Iterable", ";)TE;" } .end annotation .prologue .line 77 sget-object v0, Lcom/google/common/collect/NaturalOrdering;->INSTANCE:Lcom/google/common/collect/NaturalOrdering; invoke-virtual {v0, p1}, Lcom/google/common/collect/NaturalOrdering;->min(Ljava/lang/Iterable;)Ljava/lang/Object; move-result-object v0 check-cast v0, Ljava/lang/Comparable; return-object v0 .end method .method public max(Ljava/util/Iterator;)Ljava/lang/Comparable; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/Iterator", ";)TE;" } .end annotation .prologue .line 73 sget-object v0, Lcom/google/common/collect/NaturalOrdering;->INSTANCE:Lcom/google/common/collect/NaturalOrdering; invoke-virtual {v0, p1}, Lcom/google/common/collect/NaturalOrdering;->min(Ljava/util/Iterator;)Ljava/lang/Object; move-result-object v0 check-cast v0, Ljava/lang/Comparable; return-object v0 .end method .method public bridge synthetic max(Ljava/lang/Iterable;)Ljava/lang/Object; .locals 1 .prologue .line 27 invoke-virtual {p0, p1}, Lcom/google/common/collect/ReverseNaturalOrdering;->max(Ljava/lang/Iterable;)Ljava/lang/Comparable; move-result-object v0 return-object v0 .end method .method public bridge synthetic max(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; .locals 1 .prologue .line 27 check-cast p1, Ljava/lang/Comparable; check-cast p2, Ljava/lang/Comparable; invoke-virtual {p0, p1, p2}, Lcom/google/common/collect/ReverseNaturalOrdering;->max(Ljava/lang/Comparable;Ljava/lang/Comparable;)Ljava/lang/Comparable; move-result-object v0 return-object v0 .end method .method public bridge synthetic max(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; .locals 1 .prologue .line 27 check-cast p1, Ljava/lang/Comparable; check-cast p2, Ljava/lang/Comparable; check-cast p3, Ljava/lang/Comparable; check-cast p4, [Ljava/lang/Comparable; invoke-virtual {p0, p1, p2, p3, p4}, Lcom/google/common/collect/ReverseNaturalOrdering;->max(Ljava/lang/Comparable;Ljava/lang/Comparable;Ljava/lang/Comparable;[Ljava/lang/Comparable;)Ljava/lang/Comparable; move-result-object v0 return-object v0 .end method .method public bridge synthetic max(Ljava/util/Iterator;)Ljava/lang/Object; .locals 1 .prologue .line 27 invoke-virtual {p0, p1}, Lcom/google/common/collect/ReverseNaturalOrdering;->max(Ljava/util/Iterator;)Ljava/lang/Comparable; move-result-object v0 return-object v0 .end method .method public min(Ljava/lang/Comparable;Ljava/lang/Comparable;)Ljava/lang/Comparable; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(TE;TE;)TE;" } .end annotation .prologue .line 49 sget-object v0, Lcom/google/common/collect/NaturalOrdering;->INSTANCE:Lcom/google/common/collect/NaturalOrdering; invoke-virtual {v0, p1, p2}, Lcom/google/common/collect/NaturalOrdering;->max(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; move-result-object v0 check-cast v0, Ljava/lang/Comparable; return-object v0 .end method .method public varargs min(Ljava/lang/Comparable;Ljava/lang/Comparable;Ljava/lang/Comparable;[Ljava/lang/Comparable;)Ljava/lang/Comparable; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(TE;TE;TE;[TE;)TE;" } .end annotation .prologue .line 53 sget-object v0, Lcom/google/common/collect/NaturalOrdering;->INSTANCE:Lcom/google/common/collect/NaturalOrdering; invoke-virtual {v0, p1, p2, p3, p4}, Lcom/google/common/collect/NaturalOrdering;->max(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; move-result-object v0 check-cast v0, Ljava/lang/Comparable; return-object v0 .end method .method public min(Ljava/lang/Iterable;)Ljava/lang/Comparable; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/lang/Iterable", ";)TE;" } .end annotation .prologue .line 61 sget-object v0, Lcom/google/common/collect/NaturalOrdering;->INSTANCE:Lcom/google/common/collect/NaturalOrdering; invoke-virtual {v0, p1}, Lcom/google/common/collect/NaturalOrdering;->max(Ljava/lang/Iterable;)Ljava/lang/Object; move-result-object v0 check-cast v0, Ljava/lang/Comparable; return-object v0 .end method .method public min(Ljava/util/Iterator;)Ljava/lang/Comparable; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/Iterator", ";)TE;" } .end annotation .prologue .line 57 sget-object v0, Lcom/google/common/collect/NaturalOrdering;->INSTANCE:Lcom/google/common/collect/NaturalOrdering; invoke-virtual {v0, p1}, Lcom/google/common/collect/NaturalOrdering;->max(Ljava/util/Iterator;)Ljava/lang/Object; move-result-object v0 check-cast v0, Ljava/lang/Comparable; return-object v0 .end method .method public bridge synthetic min(Ljava/lang/Iterable;)Ljava/lang/Object; .locals 1 .prologue .line 27 invoke-virtual {p0, p1}, Lcom/google/common/collect/ReverseNaturalOrdering;->min(Ljava/lang/Iterable;)Ljava/lang/Comparable; move-result-object v0 return-object v0 .end method .method public bridge synthetic min(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; .locals 1 .prologue .line 27 check-cast p1, Ljava/lang/Comparable; check-cast p2, Ljava/lang/Comparable; invoke-virtual {p0, p1, p2}, Lcom/google/common/collect/ReverseNaturalOrdering;->min(Ljava/lang/Comparable;Ljava/lang/Comparable;)Ljava/lang/Comparable; move-result-object v0 return-object v0 .end method .method public bridge synthetic min(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; .locals 1 .prologue .line 27 check-cast p1, Ljava/lang/Comparable; check-cast p2, Ljava/lang/Comparable; check-cast p3, Ljava/lang/Comparable; check-cast p4, [Ljava/lang/Comparable; invoke-virtual {p0, p1, p2, p3, p4}, Lcom/google/common/collect/ReverseNaturalOrdering;->min(Ljava/lang/Comparable;Ljava/lang/Comparable;Ljava/lang/Comparable;[Ljava/lang/Comparable;)Ljava/lang/Comparable; move-result-object v0 return-object v0 .end method .method public bridge synthetic min(Ljava/util/Iterator;)Ljava/lang/Object; .locals 1 .prologue .line 27 invoke-virtual {p0, p1}, Lcom/google/common/collect/ReverseNaturalOrdering;->min(Ljava/util/Iterator;)Ljava/lang/Comparable; move-result-object v0 return-object v0 .end method .method public reverse()Lcom/google/common/collect/Ordering; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "()", "Lcom/google/common/collect/Ordering", ";" } .end annotation .prologue .line 43 invoke-static {}, Lcom/google/common/collect/Ordering;->natural()Lcom/google/common/collect/Ordering; move-result-object v0 return-object v0 .end method .method public toString()Ljava/lang/String; .locals 1 .prologue .line 86 const-string v0, "Ordering.natural().reverse()" return-object v0 .end method