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

363 lines
7.9 KiB
Smali

.class final Lkotlin/ranges/ClosedFloatRange;
.super Ljava/lang/Object;
.source "Ranges.kt"
# interfaces
.implements Lkotlin/ranges/ClosedFloatingPointRange;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Lkotlin/ranges/ClosedFloatingPointRange<",
"Ljava/lang/Float;",
">;"
}
.end annotation
.annotation runtime Lkotlin/Metadata;
d1 = {
"\u0000,\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u0007\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\u0016J\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/ClosedFloatRange;",
"Lkotlin/ranges/ClosedFloatingPointRange;",
"",
"start",
"endInclusive",
"(FF)V",
"_endInclusive",
"_start",
"getEndInclusive",
"()Ljava/lang/Float;",
"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 _endInclusive:F
.field private final _start:F
# direct methods
.method public constructor <init>(FF)V
.locals 0
.line 175
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput p1, p0, Lkotlin/ranges/ClosedFloatRange;->_start:F
iput p2, p0, Lkotlin/ranges/ClosedFloatRange;->_endInclusive:F
return-void
.end method
# virtual methods
.method public contains(F)Z
.locals 1
iget v0, p0, Lkotlin/ranges/ClosedFloatRange;->_start:F
cmpl-float v0, p1, v0
if-ltz v0, :cond_0
iget p0, p0, Lkotlin/ranges/ClosedFloatRange;->_endInclusive:F
cmpg-float p0, p1, p0
if-gtz 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 0
.line 175
check-cast p1, Ljava/lang/Number;
invoke-virtual {p1}, Ljava/lang/Number;->floatValue()F
move-result p1
invoke-virtual {p0, p1}, Lkotlin/ranges/ClosedFloatRange;->contains(F)Z
move-result p0
return p0
.end method
.method public equals(Ljava/lang/Object;)Z
.locals 2
.line 190
instance-of v0, p1, Lkotlin/ranges/ClosedFloatRange;
if-eqz v0, :cond_2
invoke-virtual {p0}, Lkotlin/ranges/ClosedFloatRange;->isEmpty()Z
move-result v0
if-eqz v0, :cond_0
move-object v0, p1
check-cast v0, Lkotlin/ranges/ClosedFloatRange;
invoke-virtual {v0}, Lkotlin/ranges/ClosedFloatRange;->isEmpty()Z
move-result v0
if-nez v0, :cond_1
:cond_0
iget v0, p0, Lkotlin/ranges/ClosedFloatRange;->_start:F
.line 191
check-cast p1, Lkotlin/ranges/ClosedFloatRange;
iget v1, p1, Lkotlin/ranges/ClosedFloatRange;->_start:F
cmpg-float v0, v0, v1
if-nez v0, :cond_2
iget p0, p0, Lkotlin/ranges/ClosedFloatRange;->_endInclusive:F
iget p1, p1, Lkotlin/ranges/ClosedFloatRange;->_endInclusive:F
cmpg-float p0, p0, p1
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 getEndInclusive()Ljava/lang/Comparable;
.locals 0
.line 175
invoke-virtual {p0}, Lkotlin/ranges/ClosedFloatRange;->getEndInclusive()Ljava/lang/Float;
move-result-object p0
check-cast p0, Ljava/lang/Comparable;
return-object p0
.end method
.method public getEndInclusive()Ljava/lang/Float;
.locals 0
iget p0, p0, Lkotlin/ranges/ClosedFloatRange;->_endInclusive:F
.line 182
invoke-static {p0}, Ljava/lang/Float;->valueOf(F)Ljava/lang/Float;
move-result-object p0
return-object p0
.end method
.method public bridge synthetic getStart()Ljava/lang/Comparable;
.locals 0
.line 175
invoke-virtual {p0}, Lkotlin/ranges/ClosedFloatRange;->getStart()Ljava/lang/Float;
move-result-object p0
check-cast p0, Ljava/lang/Comparable;
return-object p0
.end method
.method public getStart()Ljava/lang/Float;
.locals 0
iget p0, p0, Lkotlin/ranges/ClosedFloatRange;->_start:F
.line 181
invoke-static {p0}, Ljava/lang/Float;->valueOf(F)Ljava/lang/Float;
move-result-object p0
return-object p0
.end method
.method public hashCode()I
.locals 1
.line 195
invoke-virtual {p0}, Lkotlin/ranges/ClosedFloatRange;->isEmpty()Z
move-result v0
if-eqz v0, :cond_0
const/4 p0, -0x1
goto :goto_0
:cond_0
iget v0, p0, Lkotlin/ranges/ClosedFloatRange;->_start:F
invoke-static {v0}, Ljava/lang/Float;->hashCode(F)I
move-result v0
mul-int/lit8 v0, v0, 0x1f
iget p0, p0, Lkotlin/ranges/ClosedFloatRange;->_endInclusive:F
invoke-static {p0}, Ljava/lang/Float;->hashCode(F)I
move-result p0
add-int/2addr p0, v0
:goto_0
return p0
.end method
.method public isEmpty()Z
.locals 1
iget v0, p0, Lkotlin/ranges/ClosedFloatRange;->_start:F
iget p0, p0, Lkotlin/ranges/ClosedFloatRange;->_endInclusive:F
cmpg-float p0, v0, p0
if-lez p0, :cond_0
const/4 p0, 0x1
goto :goto_0
:cond_0
const/4 p0, 0x0
:goto_0
return p0
.end method
.method public lessThanOrEquals(FF)Z
.locals 0
cmpg-float p0, p1, p2
if-gtz 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 lessThanOrEquals(Ljava/lang/Comparable;Ljava/lang/Comparable;)Z
.locals 0
.line 175
check-cast p1, Ljava/lang/Number;
invoke-virtual {p1}, Ljava/lang/Number;->floatValue()F
move-result p1
check-cast p2, Ljava/lang/Number;
invoke-virtual {p2}, Ljava/lang/Number;->floatValue()F
move-result p2
invoke-virtual {p0, p1, p2}, Lkotlin/ranges/ClosedFloatRange;->lessThanOrEquals(FF)Z
move-result p0
return p0
.end method
.method public toString()Ljava/lang/String;
.locals 2
.line 198
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
iget v1, p0, Lkotlin/ranges/ClosedFloatRange;->_start:F
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(F)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 p0, p0, Lkotlin/ranges/ClosedFloatRange;->_endInclusive:F
invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(F)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