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

299 lines
7.5 KiB
Smali

.class Lkotlin/ranges/ComparableOpenEndRange;
.super Ljava/lang/Object;
.source "Ranges.kt"
# interfaces
.implements Lkotlin/ranges/OpenEndRange;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T::",
"Ljava/lang/Comparable<",
"-TT;>;>",
"Ljava/lang/Object;",
"Lkotlin/ranges/OpenEndRange<",
"TT;>;"
}
.end annotation
.annotation runtime Lkotlin/Metadata;
d1 = {
"\u0000*\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000f\n\u0002\u0018\u0002\n\u0002\u0008\u0008\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u0008\n\u0000\n\u0002\u0010\u000e\n\u0000\u0008\u0012\u0018\u0000*\u000e\u0008\u0000\u0010\u0001*\u0008\u0012\u0004\u0012\u0002H\u00010\u00022\u0008\u0012\u0004\u0012\u0002H\u00010\u0003B\u0015\u0012\u0006\u0010\u0004\u001a\u00028\u0000\u0012\u0006\u0010\u0005\u001a\u00028\u0000\u00a2\u0006\u0002\u0010\u0006J\u0013\u0010\u000b\u001a\u00020\u000c2\u0008\u0010\r\u001a\u0004\u0018\u00010\u000eH\u0096\u0002J\u0008\u0010\u000f\u001a\u00020\u0010H\u0016J\u0008\u0010\u0011\u001a\u00020\u0012H\u0016R\u0016\u0010\u0005\u001a\u00028\u0000X\u0096\u0004\u00a2\u0006\n\n\u0002\u0010\t\u001a\u0004\u0008\u0007\u0010\u0008R\u0016\u0010\u0004\u001a\u00028\u0000X\u0096\u0004\u00a2\u0006\n\n\u0002\u0010\t\u001a\u0004\u0008\n\u0010\u0008\u00a8\u0006\u0013"
}
d2 = {
"Lkotlin/ranges/ComparableOpenEndRange;",
"T",
"",
"Lkotlin/ranges/OpenEndRange;",
"start",
"endExclusive",
"(Ljava/lang/Comparable;Ljava/lang/Comparable;)V",
"getEndExclusive",
"()Ljava/lang/Comparable;",
"Ljava/lang/Comparable;",
"getStart",
"equals",
"",
"other",
"",
"hashCode",
"",
"toString",
"",
"kotlin-stdlib"
}
k = 0x1
mv = {
0x1,
0x9,
0x0
}
xi = 0x30
.end annotation
# instance fields
.field private final endExclusive:Ljava/lang/Comparable;
.annotation system Ldalvik/annotation/Signature;
value = {
"TT;"
}
.end annotation
.end field
.field private final start:Ljava/lang/Comparable;
.annotation system Ldalvik/annotation/Signature;
value = {
"TT;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Ljava/lang/Comparable;Ljava/lang/Comparable;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;TT;)V"
}
.end annotation
const-string v0, "start"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "endExclusive"
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 42
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lkotlin/ranges/ComparableOpenEndRange;->start:Ljava/lang/Comparable;
iput-object p2, p0, Lkotlin/ranges/ComparableOpenEndRange;->endExclusive:Ljava/lang/Comparable;
return-void
.end method
# virtual methods
.method public contains(Ljava/lang/Comparable;)Z
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)Z"
}
.end annotation
.line 42
invoke-static {p0, p1}, Lkotlin/ranges/OpenEndRange$DefaultImpls;->contains(Lkotlin/ranges/OpenEndRange;Ljava/lang/Comparable;)Z
move-result p0
return p0
.end method
.method public equals(Ljava/lang/Object;)Z
.locals 2
.line 48
instance-of v0, p1, Lkotlin/ranges/ComparableOpenEndRange;
if-eqz v0, :cond_2
invoke-virtual {p0}, Lkotlin/ranges/ComparableOpenEndRange;->isEmpty()Z
move-result v0
if-eqz v0, :cond_0
move-object v0, p1
check-cast v0, Lkotlin/ranges/ComparableOpenEndRange;
invoke-virtual {v0}, Lkotlin/ranges/ComparableOpenEndRange;->isEmpty()Z
move-result v0
if-nez v0, :cond_1
.line 49
:cond_0
invoke-virtual {p0}, Lkotlin/ranges/ComparableOpenEndRange;->getStart()Ljava/lang/Comparable;
move-result-object v0
check-cast p1, Lkotlin/ranges/ComparableOpenEndRange;
invoke-virtual {p1}, Lkotlin/ranges/ComparableOpenEndRange;->getStart()Ljava/lang/Comparable;
move-result-object v1
invoke-static {v0, v1}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_2
invoke-virtual {p0}, Lkotlin/ranges/ComparableOpenEndRange;->getEndExclusive()Ljava/lang/Comparable;
move-result-object p0
invoke-virtual {p1}, Lkotlin/ranges/ComparableOpenEndRange;->getEndExclusive()Ljava/lang/Comparable;
move-result-object p1
invoke-static {p0, p1}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result p0
if-eqz 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 getEndExclusive()Ljava/lang/Comparable;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"()TT;"
}
.end annotation
iget-object p0, p0, Lkotlin/ranges/ComparableOpenEndRange;->endExclusive:Ljava/lang/Comparable;
return-object p0
.end method
.method public getStart()Ljava/lang/Comparable;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"()TT;"
}
.end annotation
iget-object p0, p0, Lkotlin/ranges/ComparableOpenEndRange;->start:Ljava/lang/Comparable;
return-object p0
.end method
.method public hashCode()I
.locals 1
.line 53
invoke-virtual {p0}, Lkotlin/ranges/ComparableOpenEndRange;->isEmpty()Z
move-result v0
if-eqz v0, :cond_0
const/4 p0, -0x1
goto :goto_0
:cond_0
invoke-virtual {p0}, Lkotlin/ranges/ComparableOpenEndRange;->getStart()Ljava/lang/Comparable;
move-result-object v0
invoke-virtual {v0}, Ljava/lang/Object;->hashCode()I
move-result v0
mul-int/lit8 v0, v0, 0x1f
invoke-virtual {p0}, Lkotlin/ranges/ComparableOpenEndRange;->getEndExclusive()Ljava/lang/Comparable;
move-result-object p0
invoke-virtual {p0}, Ljava/lang/Object;->hashCode()I
move-result p0
add-int/2addr p0, v0
:goto_0
return p0
.end method
.method public isEmpty()Z
.locals 0
.line 42
invoke-static {p0}, Lkotlin/ranges/OpenEndRange$DefaultImpls;->isEmpty(Lkotlin/ranges/OpenEndRange;)Z
move-result p0
return p0
.end method
.method public toString()Ljava/lang/String;
.locals 2
.line 56
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
invoke-virtual {p0}, Lkotlin/ranges/ComparableOpenEndRange;->getStart()Ljava/lang/Comparable;
move-result-object v1
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 {p0}, Lkotlin/ranges/ComparableOpenEndRange;->getEndExclusive()Ljava/lang/Comparable;
move-result-object p0
invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)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