.class final Lcom/google/common/collect/UsingToStringOrdering; .super Lcom/google/common/collect/Ordering; .source "UsingToStringOrdering.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/Object;", ">;", "Ljava/io/Serializable;" } .end annotation # static fields .field static final INSTANCE:Lcom/google/common/collect/UsingToStringOrdering; .field private static final serialVersionUID:J # direct methods .method static constructor ()V .locals 1 .prologue .line 30 new-instance v0, Lcom/google/common/collect/UsingToStringOrdering; invoke-direct {v0}, Lcom/google/common/collect/UsingToStringOrdering;->()V sput-object v0, Lcom/google/common/collect/UsingToStringOrdering;->INSTANCE:Lcom/google/common/collect/UsingToStringOrdering; return-void .end method .method private constructor ()V .locals 0 .prologue .line 45 invoke-direct {p0}, Lcom/google/common/collect/Ordering;->()V return-void .end method .method private readResolve()Ljava/lang/Object; .locals 1 .prologue .line 38 sget-object v0, Lcom/google/common/collect/UsingToStringOrdering;->INSTANCE:Lcom/google/common/collect/UsingToStringOrdering; return-object v0 .end method # virtual methods .method public compare(Ljava/lang/Object;Ljava/lang/Object;)I .locals 2 .prologue .line 33 invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String; move-result-object v0 invoke-virtual {p2}, Ljava/lang/Object;->toString()Ljava/lang/String; move-result-object v1 invoke-virtual {v0, v1}, Ljava/lang/String;->compareTo(Ljava/lang/String;)I move-result v0 return v0 .end method .method public toString()Ljava/lang/String; .locals 1 .prologue .line 42 const-string v0, "Ordering.usingToString()" return-object v0 .end method