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.
384 lines
9.2 KiB
384 lines
9.2 KiB
.class final Lcom/google/common/collect/Cut$BelowValue; |
|
.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 = "BelowValue" |
|
.end annotation |
|
|
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"<C::", |
|
"Ljava/lang/Comparable;", |
|
">", |
|
"Lcom/google/common/collect/Cut", |
|
"<TC;>;" |
|
} |
|
.end annotation |
|
|
|
|
|
# static fields |
|
.field private static final serialVersionUID:J |
|
|
|
|
|
# direct methods |
|
.method constructor <init>(Ljava/lang/Comparable;)V |
|
.locals 1 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"(TC;)V" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 240 |
|
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;-><init>(Ljava/lang/Comparable;)V |
|
|
|
.line 241 |
|
return-void |
|
.end method |
|
|
|
|
|
# virtual methods |
|
.method public bridge synthetic compareTo(Ljava/lang/Object;)I |
|
.locals 1 |
|
|
|
.prologue |
|
.line 238 |
|
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 275 |
|
const/16 v0, 0x5b |
|
|
|
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$BelowValue;->endpoint:Ljava/lang/Comparable; |
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder; |
|
|
|
.line 276 |
|
return-void |
|
.end method |
|
|
|
.method describeAsUpperBound(Ljava/lang/StringBuilder;)V |
|
.locals 2 |
|
|
|
.prologue |
|
.line 278 |
|
iget-object v0, p0, Lcom/google/common/collect/Cut$BelowValue;->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, 0x29 |
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; |
|
|
|
.line 279 |
|
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;>;)TC;" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 284 |
|
iget-object v0, p0, Lcom/google/common/collect/Cut$BelowValue;->endpoint:Ljava/lang/Comparable; |
|
|
|
invoke-virtual {p1, v0}, Lcom/google/common/collect/DiscreteDomain;->previous(Ljava/lang/Comparable;)Ljava/lang/Comparable; |
|
|
|
move-result-object v0 |
|
|
|
return-object v0 |
|
.end method |
|
|
|
.method public hashCode()I |
|
.locals 1 |
|
|
|
.prologue |
|
.line 287 |
|
iget-object v0, p0, Lcom/google/common/collect/Cut$BelowValue;->endpoint:Ljava/lang/Comparable; |
|
|
|
invoke-virtual {v0}, Ljava/lang/Object;->hashCode()I |
|
|
|
move-result v0 |
|
|
|
return v0 |
|
.end method |
|
|
|
.method isLessThan(Ljava/lang/Comparable;)Z |
|
.locals 1 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"(TC;)Z" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 244 |
|
iget-object v0, p0, Lcom/google/common/collect/Cut$BelowValue;->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-gtz 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;>;)TC;" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 281 |
|
iget-object v0, p0, Lcom/google/common/collect/Cut$BelowValue;->endpoint:Ljava/lang/Comparable; |
|
|
|
return-object v0 |
|
.end method |
|
|
|
.method public toString()Ljava/lang/String; |
|
.locals 2 |
|
|
|
.prologue |
|
.line 290 |
|
new-instance v0, Ljava/lang/StringBuilder; |
|
|
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()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$BelowValue;->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 247 |
|
sget-object v0, Lcom/google/common/collect/BoundType;->CLOSED:Lcom/google/common/collect/BoundType; |
|
|
|
return-object v0 |
|
.end method |
|
|
|
.method typeAsUpperBound()Lcom/google/common/collect/BoundType; |
|
.locals 1 |
|
|
|
.prologue |
|
.line 250 |
|
sget-object v0, Lcom/google/common/collect/BoundType;->OPEN: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", |
|
"<TC;>;)", |
|
"Lcom/google/common/collect/Cut", |
|
"<TC;>;" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 253 |
|
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 260 |
|
new-instance v0, Ljava/lang/AssertionError; |
|
|
|
invoke-direct {v0}, Ljava/lang/AssertionError;-><init>()V |
|
|
|
throw v0 |
|
|
|
.line 257 |
|
:pswitch_0 |
|
iget-object v0, p0, Lcom/google/common/collect/Cut$BelowValue;->endpoint:Ljava/lang/Comparable; |
|
|
|
invoke-virtual {p2, v0}, Lcom/google/common/collect/DiscreteDomain;->previous(Ljava/lang/Comparable;)Ljava/lang/Comparable; |
|
|
|
move-result-object v1 |
|
|
|
.line 258 |
|
if-nez v1, :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 |
|
new-instance v0, Lcom/google/common/collect/Cut$AboveValue; |
|
|
|
invoke-direct {v0, v1}, Lcom/google/common/collect/Cut$AboveValue;-><init>(Ljava/lang/Comparable;)V |
|
|
|
goto :goto_0 |
|
|
|
.line 253 |
|
nop |
|
|
|
:pswitch_data_0 |
|
.packed-switch 0x1 |
|
:pswitch_1 |
|
:pswitch_0 |
|
.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", |
|
"<TC;>;)", |
|
"Lcom/google/common/collect/Cut", |
|
"<TC;>;" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 264 |
|
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 271 |
|
new-instance v0, Ljava/lang/AssertionError; |
|
|
|
invoke-direct {v0}, Ljava/lang/AssertionError;-><init>()V |
|
|
|
throw v0 |
|
|
|
.line 266 |
|
:pswitch_0 |
|
iget-object v0, p0, Lcom/google/common/collect/Cut$BelowValue;->endpoint:Ljava/lang/Comparable; |
|
|
|
invoke-virtual {p2, v0}, Lcom/google/common/collect/DiscreteDomain;->previous(Ljava/lang/Comparable;)Ljava/lang/Comparable; |
|
|
|
move-result-object v1 |
|
|
|
.line 267 |
|
if-nez v1, :cond_0 |
|
|
|
invoke-static {}, Lcom/google/common/collect/Cut;->aboveAll()Lcom/google/common/collect/Cut; |
|
|
|
move-result-object v0 |
|
|
|
.line 269 |
|
:goto_0 |
|
return-object v0 |
|
|
|
.line 267 |
|
:cond_0 |
|
new-instance v0, Lcom/google/common/collect/Cut$AboveValue; |
|
|
|
invoke-direct {v0, v1}, Lcom/google/common/collect/Cut$AboveValue;-><init>(Ljava/lang/Comparable;)V |
|
|
|
goto :goto_0 |
|
|
|
:pswitch_1 |
|
move-object v0, p0 |
|
|
|
.line 269 |
|
goto :goto_0 |
|
|
|
.line 264 |
|
:pswitch_data_0 |
|
.packed-switch 0x1 |
|
:pswitch_0 |
|
:pswitch_1 |
|
.end packed-switch |
|
.end method
|
|
|