2019-07-24 11:27:29 +00:00
|
|
|
.class public final Lkotlin/ranges/IntRange;
|
|
|
|
.super Lkotlin/ranges/IntProgression;
|
|
|
|
.source "Ranges.kt"
|
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
# interfaces
|
|
|
|
.implements Lkotlin/ranges/a;
|
|
|
|
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
|
|
value = {
|
|
|
|
Lkotlin/ranges/IntRange$a;
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
2019-07-31 00:08:31 +00:00
|
|
|
"Lkotlin/ranges/IntProgression;",
|
|
|
|
"Lkotlin/ranges/a<",
|
|
|
|
"Ljava/lang/Integer;",
|
|
|
|
">;"
|
2019-07-24 11:27:29 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# static fields
|
2019-11-20 22:09:14 +00:00
|
|
|
.field private static final bie:Lkotlin/ranges/IntRange;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-20 22:09:14 +00:00
|
|
|
.field public static final bif:Lkotlin/ranges/IntRange$a;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method static constructor <clinit>()V
|
|
|
|
.locals 3
|
|
|
|
|
|
|
|
new-instance v0, Lkotlin/ranges/IntRange$a;
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-direct {v0, v1}, Lkotlin/ranges/IntRange$a;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-20 22:09:14 +00:00
|
|
|
sput-object v0, Lkotlin/ranges/IntRange;->bif:Lkotlin/ranges/IntRange$a;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
new-instance v0, Lkotlin/ranges/IntRange;
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
const/4 v1, 0x1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
const/4 v2, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-direct {v0, v1, v2}, Lkotlin/ranges/IntRange;-><init>(II)V
|
|
|
|
|
2019-11-20 22:09:14 +00:00
|
|
|
sput-object v0, Lkotlin/ranges/IntRange;->bie:Lkotlin/ranges/IntRange;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public constructor <init>(II)V
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
const/4 v0, 0x1
|
|
|
|
|
|
|
|
invoke-direct {p0, p1, p2, v0}, Lkotlin/ranges/IntProgression;-><init>(III)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
.method public static final synthetic access$getEMPTY$cp()Lkotlin/ranges/IntRange;
|
2019-07-24 11:27:29 +00:00
|
|
|
.locals 1
|
|
|
|
|
2019-11-20 22:09:14 +00:00
|
|
|
sget-object v0, Lkotlin/ranges/IntRange;->bie:Lkotlin/ranges/IntRange;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public final contains(I)Z
|
|
|
|
.locals 1
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-virtual {p0}, Lkotlin/ranges/IntRange;->getFirst()I
|
|
|
|
|
|
|
|
move-result v0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-gt v0, p1, :cond_0
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-virtual {p0}, Lkotlin/ranges/IntRange;->getLast()I
|
|
|
|
|
|
|
|
move-result v0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-gt p1, v0, :cond_0
|
|
|
|
|
|
|
|
const/4 p1, 0x1
|
|
|
|
|
|
|
|
return p1
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
|
|
|
return p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final equals(Ljava/lang/Object;)Z
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
instance-of v0, p1, Lkotlin/ranges/IntRange;
|
|
|
|
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lkotlin/ranges/IntRange;->isEmpty()Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
move-object v0, p1
|
|
|
|
|
|
|
|
check-cast v0, Lkotlin/ranges/IntRange;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Lkotlin/ranges/IntRange;->isEmpty()Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
|
|
|
|
:cond_0
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-virtual {p0}, Lkotlin/ranges/IntRange;->getFirst()I
|
|
|
|
|
|
|
|
move-result v0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
check-cast p1, Lkotlin/ranges/IntRange;
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-virtual {p1}, Lkotlin/ranges/IntRange;->getFirst()I
|
|
|
|
|
|
|
|
move-result v1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-ne v0, v1, :cond_2
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-virtual {p0}, Lkotlin/ranges/IntRange;->getLast()I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Lkotlin/ranges/IntRange;->getLast()I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result p1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-ne v0, p1, :cond_2
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const/4 p1, 0x1
|
|
|
|
|
|
|
|
return p1
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
|
|
|
return p1
|
|
|
|
.end method
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
.method public final bridge synthetic getEndInclusive()Ljava/lang/Comparable;
|
2019-07-31 00:08:31 +00:00
|
|
|
.locals 1
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-virtual {p0}, Lkotlin/ranges/IntRange;->getEndInclusive()Ljava/lang/Integer;
|
2019-07-31 00:08:31 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
check-cast v0, Ljava/lang/Comparable;
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
.method public final getEndInclusive()Ljava/lang/Integer;
|
2019-07-31 00:08:31 +00:00
|
|
|
.locals 1
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-virtual {p0}, Lkotlin/ranges/IntRange;->getLast()I
|
|
|
|
|
|
|
|
move-result v0
|
2019-07-31 00:08:31 +00:00
|
|
|
|
|
|
|
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final bridge synthetic getStart()Ljava/lang/Comparable;
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lkotlin/ranges/IntRange;->getStart()Ljava/lang/Integer;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2019-07-31 00:08:31 +00:00
|
|
|
check-cast v0, Ljava/lang/Comparable;
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
.method public final getStart()Ljava/lang/Integer;
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lkotlin/ranges/IntRange;->getFirst()I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
2019-07-24 11:27:29 +00:00
|
|
|
.method public final hashCode()I
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lkotlin/ranges/IntRange;->isEmpty()Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
const/4 v0, -0x1
|
|
|
|
|
|
|
|
return v0
|
|
|
|
|
|
|
|
:cond_0
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-virtual {p0}, Lkotlin/ranges/IntRange;->getFirst()I
|
|
|
|
|
|
|
|
move-result v0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-virtual {p0}, Lkotlin/ranges/IntRange;->getLast()I
|
|
|
|
|
|
|
|
move-result v1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
add-int/2addr v0, v1
|
|
|
|
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final isEmpty()Z
|
|
|
|
.locals 2
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-virtual {p0}, Lkotlin/ranges/IntRange;->getFirst()I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
move-result v0
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lkotlin/ranges/IntRange;->getLast()I
|
|
|
|
|
|
|
|
move-result v1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-le v0, v1, :cond_0
|
|
|
|
|
|
|
|
const/4 v0, 0x1
|
|
|
|
|
|
|
|
return v0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final toString()Ljava/lang/String;
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-virtual {p0}, Lkotlin/ranges/IntRange;->getFirst()I
|
|
|
|
|
|
|
|
move-result v1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v1, ".."
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-virtual {p0}, Lkotlin/ranges/IntRange;->getLast()I
|
|
|
|
|
|
|
|
move-result v1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|