Rabbit-R1/switch port/smali/smali_classes3/kotlin/ranges/OpenEndDoubleRange.smali
2024-05-21 17:08:36 -04:00

340 lines
7.6 KiB
Smali

.class final Lkotlin/ranges/OpenEndDoubleRange;
.super Ljava/lang/Object;
.source "Ranges.kt"
# interfaces
.implements Lkotlin/ranges/OpenEndRange;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Lkotlin/ranges/OpenEndRange<",
"Ljava/lang/Double;",
">;"
}
.end annotation
.annotation runtime Lkotlin/Metadata;
d1 = {
"\u0000,\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u0006\n\u0002\u0008\t\n\u0002\u0010\u000b\n\u0002\u0008\u0003\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u0008\n\u0002\u0008\u0005\n\u0002\u0010\u000e\n\u0000\u0008\u0002\u0018\u00002\u0008\u0012\u0004\u0012\u00020\u00020\u0001B\u0015\u0012\u0006\u0010\u0003\u001a\u00020\u0002\u0012\u0006\u0010\u0004\u001a\u00020\u0002\u00a2\u0006\u0002\u0010\u0005J\u0011\u0010\u000b\u001a\u00020\u000c2\u0006\u0010\r\u001a\u00020\u0002H\u0096\u0002J\u0013\u0010\u000e\u001a\u00020\u000c2\u0008\u0010\u000f\u001a\u0004\u0018\u00010\u0010H\u0096\u0002J\u0008\u0010\u0011\u001a\u00020\u0012H\u0016J\u0008\u0010\u0013\u001a\u00020\u000cH\u0016J\u0018\u0010\u0014\u001a\u00020\u000c2\u0006\u0010\u0015\u001a\u00020\u00022\u0006\u0010\u0016\u001a\u00020\u0002H\u0002J\u0008\u0010\u0017\u001a\u00020\u0018H\u0016R\u000e\u0010\u0006\u001a\u00020\u0002X\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0007\u001a\u00020\u0002X\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u0014\u0010\u0004\u001a\u00020\u00028VX\u0096\u0004\u00a2\u0006\u0006\u001a\u0004\u0008\u0008\u0010\tR\u0014\u0010\u0003\u001a\u00020\u00028VX\u0096\u0004\u00a2\u0006\u0006\u001a\u0004\u0008\n\u0010\t\u00a8\u0006\u0019"
}
d2 = {
"Lkotlin/ranges/OpenEndDoubleRange;",
"Lkotlin/ranges/OpenEndRange;",
"",
"start",
"endExclusive",
"(DD)V",
"_endExclusive",
"_start",
"getEndExclusive",
"()Ljava/lang/Double;",
"getStart",
"contains",
"",
"value",
"equals",
"other",
"",
"hashCode",
"",
"isEmpty",
"lessThanOrEquals",
"a",
"b",
"toString",
"",
"kotlin-stdlib"
}
k = 0x1
mv = {
0x1,
0x9,
0x0
}
xi = 0x30
.end annotation
# instance fields
.field private final _endExclusive:D
.field private final _start:D
# direct methods
.method public constructor <init>(DD)V
.locals 0
.line 134
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-wide p1, p0, Lkotlin/ranges/OpenEndDoubleRange;->_start:D
iput-wide p3, p0, Lkotlin/ranges/OpenEndDoubleRange;->_endExclusive:D
return-void
.end method
.method private final lessThanOrEquals(DD)Z
.locals 0
cmpg-double p0, p1, p3
if-gtz p0, :cond_0
const/4 p0, 0x1
goto :goto_0
:cond_0
const/4 p0, 0x0
:goto_0
return p0
.end method
# virtual methods
.method public contains(D)Z
.locals 2
iget-wide v0, p0, Lkotlin/ranges/OpenEndDoubleRange;->_start:D
cmpl-double v0, p1, v0
if-ltz v0, :cond_0
iget-wide v0, p0, Lkotlin/ranges/OpenEndDoubleRange;->_endExclusive:D
cmpg-double p0, p1, v0
if-gez p0, :cond_0
const/4 p0, 0x1
goto :goto_0
:cond_0
const/4 p0, 0x0
:goto_0
return p0
.end method
.method public bridge synthetic contains(Ljava/lang/Comparable;)Z
.locals 2
.line 134
check-cast p1, Ljava/lang/Number;
invoke-virtual {p1}, Ljava/lang/Number;->doubleValue()D
move-result-wide v0
invoke-virtual {p0, v0, v1}, Lkotlin/ranges/OpenEndDoubleRange;->contains(D)Z
move-result p0
return p0
.end method
.method public equals(Ljava/lang/Object;)Z
.locals 4
.line 149
instance-of v0, p1, Lkotlin/ranges/OpenEndDoubleRange;
if-eqz v0, :cond_2
invoke-virtual {p0}, Lkotlin/ranges/OpenEndDoubleRange;->isEmpty()Z
move-result v0
if-eqz v0, :cond_0
move-object v0, p1
check-cast v0, Lkotlin/ranges/OpenEndDoubleRange;
invoke-virtual {v0}, Lkotlin/ranges/OpenEndDoubleRange;->isEmpty()Z
move-result v0
if-nez v0, :cond_1
:cond_0
iget-wide v0, p0, Lkotlin/ranges/OpenEndDoubleRange;->_start:D
.line 150
check-cast p1, Lkotlin/ranges/OpenEndDoubleRange;
iget-wide v2, p1, Lkotlin/ranges/OpenEndDoubleRange;->_start:D
cmpg-double v0, v0, v2
if-nez v0, :cond_2
iget-wide v0, p0, Lkotlin/ranges/OpenEndDoubleRange;->_endExclusive:D
iget-wide p0, p1, Lkotlin/ranges/OpenEndDoubleRange;->_endExclusive:D
cmpg-double p0, v0, p0
if-nez p0, :cond_2
:cond_1
const/4 p0, 0x1
goto :goto_0
:cond_2
const/4 p0, 0x0
:goto_0
return p0
.end method
.method public bridge synthetic getEndExclusive()Ljava/lang/Comparable;
.locals 0
.line 134
invoke-virtual {p0}, Lkotlin/ranges/OpenEndDoubleRange;->getEndExclusive()Ljava/lang/Double;
move-result-object p0
check-cast p0, Ljava/lang/Comparable;
return-object p0
.end method
.method public getEndExclusive()Ljava/lang/Double;
.locals 2
iget-wide v0, p0, Lkotlin/ranges/OpenEndDoubleRange;->_endExclusive:D
.line 141
invoke-static {v0, v1}, Ljava/lang/Double;->valueOf(D)Ljava/lang/Double;
move-result-object p0
return-object p0
.end method
.method public bridge synthetic getStart()Ljava/lang/Comparable;
.locals 0
.line 134
invoke-virtual {p0}, Lkotlin/ranges/OpenEndDoubleRange;->getStart()Ljava/lang/Double;
move-result-object p0
check-cast p0, Ljava/lang/Comparable;
return-object p0
.end method
.method public getStart()Ljava/lang/Double;
.locals 2
iget-wide v0, p0, Lkotlin/ranges/OpenEndDoubleRange;->_start:D
.line 140
invoke-static {v0, v1}, Ljava/lang/Double;->valueOf(D)Ljava/lang/Double;
move-result-object p0
return-object p0
.end method
.method public hashCode()I
.locals 3
.line 154
invoke-virtual {p0}, Lkotlin/ranges/OpenEndDoubleRange;->isEmpty()Z
move-result v0
if-eqz v0, :cond_0
const/4 p0, -0x1
goto :goto_0
:cond_0
iget-wide v0, p0, Lkotlin/ranges/OpenEndDoubleRange;->_start:D
invoke-static {v0, v1}, Ljava/lang/Double;->hashCode(D)I
move-result v0
mul-int/lit8 v0, v0, 0x1f
iget-wide v1, p0, Lkotlin/ranges/OpenEndDoubleRange;->_endExclusive:D
invoke-static {v1, v2}, Ljava/lang/Double;->hashCode(D)I
move-result p0
add-int/2addr p0, v0
:goto_0
return p0
.end method
.method public isEmpty()Z
.locals 4
iget-wide v0, p0, Lkotlin/ranges/OpenEndDoubleRange;->_start:D
iget-wide v2, p0, Lkotlin/ranges/OpenEndDoubleRange;->_endExclusive:D
cmpg-double p0, v0, v2
if-ltz p0, :cond_0
const/4 p0, 0x1
goto :goto_0
:cond_0
const/4 p0, 0x0
:goto_0
return p0
.end method
.method public toString()Ljava/lang/String;
.locals 3
.line 157
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
iget-wide v1, p0, Lkotlin/ranges/OpenEndDoubleRange;->_start:D
invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(D)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
iget-wide v1, p0, Lkotlin/ranges/OpenEndDoubleRange;->_endExclusive:D
invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(D)Ljava/lang/StringBuilder;
move-result-object p0
invoke-virtual {p0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p0
return-object p0
.end method