.class final Lcom/google/common/collect/Cut$AboveValue; .super Lcom/google/common/collect/Cut; .source "Cut.java" # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Lcom/google/common/collect/Cut; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x1a name = "AboveValue" .end annotation .annotation system Ldalvik/annotation/Signature; value = { "", "Lcom/google/common/collect/Cut", ";" } .end annotation # static fields .field private static final serialVersionUID:J # direct methods .method constructor (Ljava/lang/Comparable;)V .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(TC;)V" } .end annotation .prologue .line 301 invoke-static {p1}, Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object; move-result-object v0 check-cast v0, Ljava/lang/Comparable; invoke-direct {p0, v0}, Lcom/google/common/collect/Cut;->(Ljava/lang/Comparable;)V .line 302 return-void .end method # virtual methods .method canonical(Lcom/google/common/collect/DiscreteDomain;)Lcom/google/common/collect/Cut; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lcom/google/common/collect/DiscreteDomain", ";)", "Lcom/google/common/collect/Cut", ";" } .end annotation .prologue .line 348 invoke-virtual {p0, p1}, Lcom/google/common/collect/Cut$AboveValue;->leastValueAbove(Lcom/google/common/collect/DiscreteDomain;)Ljava/lang/Comparable; move-result-object v0 .line 349 if-eqz v0, :cond_0 invoke-static {v0}, Lcom/google/common/collect/Cut$AboveValue;->belowValue(Ljava/lang/Comparable;)Lcom/google/common/collect/Cut; move-result-object v0 :goto_0 return-object v0 :cond_0 invoke-static {}, Lcom/google/common/collect/Cut;->aboveAll()Lcom/google/common/collect/Cut; move-result-object v0 goto :goto_0 .end method .method public bridge synthetic compareTo(Ljava/lang/Object;)I .locals 1 .prologue .line 299 check-cast p1, Lcom/google/common/collect/Cut; invoke-super {p0, p1}, Lcom/google/common/collect/Cut;->compareTo(Lcom/google/common/collect/Cut;)I move-result v0 return v0 .end method .method describeAsLowerBound(Ljava/lang/StringBuilder;)V .locals 2 .prologue .line 336 const/16 v0, 0x28 invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; move-result-object v0 iget-object v1, p0, Lcom/google/common/collect/Cut$AboveValue;->endpoint:Ljava/lang/Comparable; invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder; .line 337 return-void .end method .method describeAsUpperBound(Ljava/lang/StringBuilder;)V .locals 2 .prologue .line 339 iget-object v0, p0, Lcom/google/common/collect/Cut$AboveValue;->endpoint:Ljava/lang/Comparable; invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder; move-result-object v0 const/16 v1, 0x5d invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; .line 340 return-void .end method .method greatestValueBelow(Lcom/google/common/collect/DiscreteDomain;)Ljava/lang/Comparable; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lcom/google/common/collect/DiscreteDomain", ";)TC;" } .end annotation .prologue .line 345 iget-object v0, p0, Lcom/google/common/collect/Cut$AboveValue;->endpoint:Ljava/lang/Comparable; return-object v0 .end method .method public hashCode()I .locals 1 .prologue .line 352 iget-object v0, p0, Lcom/google/common/collect/Cut$AboveValue;->endpoint:Ljava/lang/Comparable; invoke-virtual {v0}, Ljava/lang/Object;->hashCode()I move-result v0 xor-int/lit8 v0, v0, -0x1 return v0 .end method .method isLessThan(Ljava/lang/Comparable;)Z .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(TC;)Z" } .end annotation .prologue .line 305 iget-object v0, p0, Lcom/google/common/collect/Cut$AboveValue;->endpoint:Ljava/lang/Comparable; invoke-static {v0, p1}, Lcom/google/common/collect/Range;->compareOrThrow(Ljava/lang/Comparable;Ljava/lang/Comparable;)I move-result v0 if-gez v0, :cond_0 const/4 v0, 0x1 :goto_0 return v0 :cond_0 const/4 v0, 0x0 goto :goto_0 .end method .method leastValueAbove(Lcom/google/common/collect/DiscreteDomain;)Ljava/lang/Comparable; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lcom/google/common/collect/DiscreteDomain", ";)TC;" } .end annotation .prologue .line 342 iget-object v0, p0, Lcom/google/common/collect/Cut$AboveValue;->endpoint:Ljava/lang/Comparable; invoke-virtual {p1, v0}, Lcom/google/common/collect/DiscreteDomain;->next(Ljava/lang/Comparable;)Ljava/lang/Comparable; move-result-object v0 return-object v0 .end method .method public toString()Ljava/lang/String; .locals 2 .prologue .line 355 new-instance v0, Ljava/lang/StringBuilder; invoke-direct {v0}, Ljava/lang/StringBuilder;->()V const-string v1, "/" invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object v0 iget-object v1, p0, Lcom/google/common/collect/Cut$AboveValue;->endpoint:Ljava/lang/Comparable; invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder; move-result-object v0 const-string v1, "\\" invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object v0 invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object v0 return-object v0 .end method .method typeAsLowerBound()Lcom/google/common/collect/BoundType; .locals 1 .prologue .line 308 sget-object v0, Lcom/google/common/collect/BoundType;->OPEN:Lcom/google/common/collect/BoundType; return-object v0 .end method .method typeAsUpperBound()Lcom/google/common/collect/BoundType; .locals 1 .prologue .line 311 sget-object v0, Lcom/google/common/collect/BoundType;->CLOSED:Lcom/google/common/collect/BoundType; return-object v0 .end method .method withLowerBoundType(Lcom/google/common/collect/BoundType;Lcom/google/common/collect/DiscreteDomain;)Lcom/google/common/collect/Cut; .locals 2 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lcom/google/common/collect/BoundType;", "Lcom/google/common/collect/DiscreteDomain", ";)", "Lcom/google/common/collect/Cut", ";" } .end annotation .prologue .line 314 sget-object v0, Lcom/google/common/collect/Cut$1;->$SwitchMap$com$google$common$collect$BoundType:[I invoke-virtual {p1}, Lcom/google/common/collect/BoundType;->ordinal()I move-result v1 aget v0, v0, v1 packed-switch v0, :pswitch_data_0 .line 321 new-instance v0, Ljava/lang/AssertionError; invoke-direct {v0}, Ljava/lang/AssertionError;->()V throw v0 .line 318 :pswitch_0 iget-object v0, p0, Lcom/google/common/collect/Cut$AboveValue;->endpoint:Ljava/lang/Comparable; invoke-virtual {p2, v0}, Lcom/google/common/collect/DiscreteDomain;->next(Ljava/lang/Comparable;)Ljava/lang/Comparable; move-result-object v0 .line 319 if-nez v0, :cond_0 invoke-static {}, Lcom/google/common/collect/Cut;->belowAll()Lcom/google/common/collect/Cut; move-result-object v0 :goto_0 move-object p0, v0 :pswitch_1 return-object p0 :cond_0 invoke-static {v0}, Lcom/google/common/collect/Cut$AboveValue;->belowValue(Ljava/lang/Comparable;)Lcom/google/common/collect/Cut; move-result-object v0 goto :goto_0 .line 314 :pswitch_data_0 .packed-switch 0x1 :pswitch_0 :pswitch_1 .end packed-switch .end method .method withUpperBoundType(Lcom/google/common/collect/BoundType;Lcom/google/common/collect/DiscreteDomain;)Lcom/google/common/collect/Cut; .locals 2 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lcom/google/common/collect/BoundType;", "Lcom/google/common/collect/DiscreteDomain", ";)", "Lcom/google/common/collect/Cut", ";" } .end annotation .prologue .line 325 sget-object v0, Lcom/google/common/collect/Cut$1;->$SwitchMap$com$google$common$collect$BoundType:[I invoke-virtual {p1}, Lcom/google/common/collect/BoundType;->ordinal()I move-result v1 aget v0, v0, v1 packed-switch v0, :pswitch_data_0 .line 332 new-instance v0, Ljava/lang/AssertionError; invoke-direct {v0}, Ljava/lang/AssertionError;->()V throw v0 .line 327 :pswitch_0 iget-object v0, p0, Lcom/google/common/collect/Cut$AboveValue;->endpoint:Ljava/lang/Comparable; invoke-virtual {p2, v0}, Lcom/google/common/collect/DiscreteDomain;->next(Ljava/lang/Comparable;)Ljava/lang/Comparable; move-result-object v0 .line 328 if-nez v0, :cond_0 invoke-static {}, Lcom/google/common/collect/Cut;->aboveAll()Lcom/google/common/collect/Cut; move-result-object v0 .line 330 :goto_0 return-object v0 .line 328 :cond_0 invoke-static {v0}, Lcom/google/common/collect/Cut$AboveValue;->belowValue(Ljava/lang/Comparable;)Lcom/google/common/collect/Cut; move-result-object v0 goto :goto_0 :pswitch_1 move-object v0, p0 .line 330 goto :goto_0 .line 325 nop :pswitch_data_0 .packed-switch 0x1 :pswitch_1 :pswitch_0 .end packed-switch .end method