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.
376 lines
9.1 KiB
376 lines
9.1 KiB
.class abstract Lcom/google/common/collect/Cut; |
|
.super Ljava/lang/Object; |
|
.source "Cut.java" |
|
|
|
# interfaces |
|
.implements Ljava/io/Serializable; |
|
.implements Ljava/lang/Comparable; |
|
|
|
|
|
# annotations |
|
.annotation build Lcom/google/common/annotations/GwtCompatible; |
|
.end annotation |
|
|
|
.annotation system Ldalvik/annotation/MemberClasses; |
|
value = { |
|
Lcom/google/common/collect/Cut$1;, |
|
Lcom/google/common/collect/Cut$AboveValue;, |
|
Lcom/google/common/collect/Cut$BelowValue;, |
|
Lcom/google/common/collect/Cut$AboveAll;, |
|
Lcom/google/common/collect/Cut$BelowAll; |
|
} |
|
.end annotation |
|
|
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"<C::", |
|
"Ljava/lang/Comparable;", |
|
">", |
|
"Ljava/lang/Object;", |
|
"Ljava/io/Serializable;", |
|
"Ljava/lang/Comparable", |
|
"<", |
|
"Lcom/google/common/collect/Cut", |
|
"<TC;>;>;" |
|
} |
|
.end annotation |
|
|
|
|
|
# static fields |
|
.field private static final serialVersionUID:J |
|
|
|
|
|
# instance fields |
|
.field final endpoint:Ljava/lang/Comparable; |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"TC;" |
|
} |
|
.end annotation |
|
.end field |
|
|
|
|
|
# direct methods |
|
.method constructor <init>(Ljava/lang/Comparable;)V |
|
.locals 0 |
|
.param p1 # Ljava/lang/Comparable; |
|
.annotation runtime Ljavax/annotation/Nullable; |
|
.end annotation |
|
.end param |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"(TC;)V" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 40 |
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V |
|
|
|
.line 41 |
|
iput-object p1, p0, Lcom/google/common/collect/Cut;->endpoint:Ljava/lang/Comparable; |
|
|
|
.line 42 |
|
return-void |
|
.end method |
|
|
|
.method static aboveAll()Lcom/google/common/collect/Cut; |
|
.locals 1 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"<C::", |
|
"Ljava/lang/Comparable;", |
|
">()", |
|
"Lcom/google/common/collect/Cut", |
|
"<TC;>;" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 179 |
|
invoke-static {}, Lcom/google/common/collect/Cut$AboveAll;->access$100()Lcom/google/common/collect/Cut$AboveAll; |
|
|
|
move-result-object v0 |
|
|
|
return-object v0 |
|
.end method |
|
|
|
.method static aboveValue(Ljava/lang/Comparable;)Lcom/google/common/collect/Cut; |
|
.locals 1 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"<C::", |
|
"Ljava/lang/Comparable;", |
|
">(TC;)", |
|
"Lcom/google/common/collect/Cut", |
|
"<TC;>;" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 296 |
|
new-instance v0, Lcom/google/common/collect/Cut$AboveValue; |
|
|
|
invoke-direct {v0, p0}, Lcom/google/common/collect/Cut$AboveValue;-><init>(Ljava/lang/Comparable;)V |
|
|
|
return-object v0 |
|
.end method |
|
|
|
.method static belowAll()Lcom/google/common/collect/Cut; |
|
.locals 1 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"<C::", |
|
"Ljava/lang/Comparable;", |
|
">()", |
|
"Lcom/google/common/collect/Cut", |
|
"<TC;>;" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 108 |
|
invoke-static {}, Lcom/google/common/collect/Cut$BelowAll;->access$000()Lcom/google/common/collect/Cut$BelowAll; |
|
|
|
move-result-object v0 |
|
|
|
return-object v0 |
|
.end method |
|
|
|
.method static belowValue(Ljava/lang/Comparable;)Lcom/google/common/collect/Cut; |
|
.locals 1 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"<C::", |
|
"Ljava/lang/Comparable;", |
|
">(TC;)", |
|
"Lcom/google/common/collect/Cut", |
|
"<TC;>;" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 235 |
|
new-instance v0, Lcom/google/common/collect/Cut$BelowValue; |
|
|
|
invoke-direct {v0, p0}, Lcom/google/common/collect/Cut$BelowValue;-><init>(Ljava/lang/Comparable;)V |
|
|
|
return-object v0 |
|
.end method |
|
|
|
|
|
# virtual methods |
|
.method canonical(Lcom/google/common/collect/DiscreteDomain;)Lcom/google/common/collect/Cut; |
|
.locals 0 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"(", |
|
"Lcom/google/common/collect/DiscreteDomain", |
|
"<TC;>;)", |
|
"Lcom/google/common/collect/Cut", |
|
"<TC;>;" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 63 |
|
return-object p0 |
|
.end method |
|
|
|
.method public compareTo(Lcom/google/common/collect/Cut;)I |
|
.locals 2 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"(", |
|
"Lcom/google/common/collect/Cut", |
|
"<TC;>;)I" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 69 |
|
invoke-static {}, Lcom/google/common/collect/Cut;->belowAll()Lcom/google/common/collect/Cut; |
|
|
|
move-result-object v0 |
|
|
|
if-ne p1, v0, :cond_1 |
|
|
|
.line 70 |
|
const/4 v0, 0x1 |
|
|
|
.line 80 |
|
:cond_0 |
|
:goto_0 |
|
return v0 |
|
|
|
.line 72 |
|
:cond_1 |
|
invoke-static {}, Lcom/google/common/collect/Cut;->aboveAll()Lcom/google/common/collect/Cut; |
|
|
|
move-result-object v0 |
|
|
|
if-ne p1, v0, :cond_2 |
|
|
|
.line 73 |
|
const/4 v0, -0x1 |
|
|
|
goto :goto_0 |
|
|
|
.line 75 |
|
:cond_2 |
|
iget-object v0, p0, Lcom/google/common/collect/Cut;->endpoint:Ljava/lang/Comparable; |
|
|
|
iget-object v1, p1, Lcom/google/common/collect/Cut;->endpoint:Ljava/lang/Comparable; |
|
|
|
invoke-static {v0, v1}, Lcom/google/common/collect/Range;->compareOrThrow(Ljava/lang/Comparable;Ljava/lang/Comparable;)I |
|
|
|
move-result v0 |
|
|
|
.line 76 |
|
if-nez v0, :cond_0 |
|
|
|
.line 80 |
|
instance-of v0, p0, Lcom/google/common/collect/Cut$AboveValue; |
|
|
|
instance-of v1, p1, Lcom/google/common/collect/Cut$AboveValue; |
|
|
|
invoke-static {v0, v1}, Lcom/google/common/primitives/Booleans;->compare(ZZ)I |
|
|
|
move-result v0 |
|
|
|
goto :goto_0 |
|
.end method |
|
|
|
.method public bridge synthetic compareTo(Ljava/lang/Object;)I |
|
.locals 1 |
|
|
|
.prologue |
|
.line 36 |
|
check-cast p1, Lcom/google/common/collect/Cut; |
|
|
|
invoke-virtual {p0, p1}, Lcom/google/common/collect/Cut;->compareTo(Lcom/google/common/collect/Cut;)I |
|
|
|
move-result v0 |
|
|
|
return v0 |
|
.end method |
|
|
|
.method abstract describeAsLowerBound(Ljava/lang/StringBuilder;)V |
|
.end method |
|
|
|
.method abstract describeAsUpperBound(Ljava/lang/StringBuilder;)V |
|
.end method |
|
|
|
.method endpoint()Ljava/lang/Comparable; |
|
.locals 1 |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"()TC;" |
|
} |
|
.end annotation |
|
|
|
.prologue |
|
.line 85 |
|
iget-object v0, p0, Lcom/google/common/collect/Cut;->endpoint:Ljava/lang/Comparable; |
|
|
|
return-object v0 |
|
.end method |
|
|
|
.method public equals(Ljava/lang/Object;)Z |
|
.locals 2 |
|
|
|
.prologue |
|
const/4 v0, 0x0 |
|
|
|
.line 90 |
|
instance-of v1, p1, Lcom/google/common/collect/Cut; |
|
|
|
if-eqz v1, :cond_0 |
|
|
|
.line 92 |
|
check-cast p1, Lcom/google/common/collect/Cut; |
|
|
|
.line 94 |
|
:try_start_0 |
|
invoke-virtual {p0, p1}, Lcom/google/common/collect/Cut;->compareTo(Lcom/google/common/collect/Cut;)I |
|
:try_end_0 |
|
.catch Ljava/lang/ClassCastException; {:try_start_0 .. :try_end_0} :catch_0 |
|
|
|
move-result v1 |
|
|
|
.line 95 |
|
if-nez v1, :cond_0 |
|
|
|
const/4 v0, 0x1 |
|
|
|
.line 99 |
|
:cond_0 |
|
:goto_0 |
|
return v0 |
|
|
|
.line 96 |
|
:catch_0 |
|
move-exception v1 |
|
|
|
goto :goto_0 |
|
.end method |
|
|
|
.method abstract greatestValueBelow(Lcom/google/common/collect/DiscreteDomain;)Ljava/lang/Comparable; |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"(", |
|
"Lcom/google/common/collect/DiscreteDomain", |
|
"<TC;>;)TC;" |
|
} |
|
.end annotation |
|
.end method |
|
|
|
.method abstract isLessThan(Ljava/lang/Comparable;)Z |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"(TC;)Z" |
|
} |
|
.end annotation |
|
.end method |
|
|
|
.method abstract leastValueAbove(Lcom/google/common/collect/DiscreteDomain;)Ljava/lang/Comparable; |
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"(", |
|
"Lcom/google/common/collect/DiscreteDomain", |
|
"<TC;>;)TC;" |
|
} |
|
.end annotation |
|
.end method |
|
|
|
.method abstract typeAsLowerBound()Lcom/google/common/collect/BoundType; |
|
.end method |
|
|
|
.method abstract typeAsUpperBound()Lcom/google/common/collect/BoundType; |
|
.end method |
|
|
|
.method abstract withLowerBoundType(Lcom/google/common/collect/BoundType;Lcom/google/common/collect/DiscreteDomain;)Lcom/google/common/collect/Cut; |
|
.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 |
|
.end method |
|
|
|
.method abstract withUpperBoundType(Lcom/google/common/collect/BoundType;Lcom/google/common/collect/DiscreteDomain;)Lcom/google/common/collect/Cut; |
|
.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 |
|
.end method
|
|
|