241 lines
4.5 KiB
Smali
241 lines
4.5 KiB
Smali
.class public final Lkotlin/ranges/IntRange;
|
|
.super Lkotlin/ranges/IntProgression;
|
|
.source "Ranges.kt"
|
|
|
|
# interfaces
|
|
.implements Lj0/q/a;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lkotlin/ranges/IntProgression;",
|
|
"Lj0/q/a<",
|
|
"Ljava/lang/Integer;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final g:Lkotlin/ranges/IntRange;
|
|
|
|
.field public static final h:Lkotlin/ranges/IntRange;
|
|
|
|
|
|
# direct methods
|
|
.method public static constructor <clinit>()V
|
|
.locals 3
|
|
|
|
new-instance v0, Lkotlin/ranges/IntRange;
|
|
|
|
const/4 v1, 0x1
|
|
|
|
const/4 v2, 0x0
|
|
|
|
invoke-direct {v0, v1, v2}, Lkotlin/ranges/IntRange;-><init>(II)V
|
|
|
|
sput-object v0, Lkotlin/ranges/IntRange;->g:Lkotlin/ranges/IntRange;
|
|
|
|
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
|
|
|
|
|
|
# virtual methods
|
|
.method public contains(I)Z
|
|
.locals 1
|
|
|
|
iget v0, p0, Lkotlin/ranges/IntProgression;->d:I
|
|
|
|
if-gt v0, p1, :cond_0
|
|
|
|
iget v0, p0, Lkotlin/ranges/IntProgression;->e:I
|
|
|
|
if-gt p1, v0, :cond_0
|
|
|
|
const/4 p1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p1, 0x0
|
|
|
|
:goto_0
|
|
return p1
|
|
.end method
|
|
|
|
.method public 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
|
|
iget v0, p0, Lkotlin/ranges/IntProgression;->d:I
|
|
|
|
check-cast p1, Lkotlin/ranges/IntRange;
|
|
|
|
iget v1, p1, Lkotlin/ranges/IntProgression;->d:I
|
|
|
|
if-ne v0, v1, :cond_2
|
|
|
|
iget v0, p0, Lkotlin/ranges/IntProgression;->e:I
|
|
|
|
iget p1, p1, Lkotlin/ranges/IntProgression;->e:I
|
|
|
|
if-ne v0, p1, :cond_2
|
|
|
|
:cond_1
|
|
const/4 p1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_2
|
|
const/4 p1, 0x0
|
|
|
|
:goto_0
|
|
return p1
|
|
.end method
|
|
|
|
.method public bridge synthetic getEndInclusive()Ljava/lang/Comparable;
|
|
.locals 1
|
|
|
|
invoke-virtual {p0}, Lkotlin/ranges/IntRange;->getEndInclusive()Ljava/lang/Integer;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getEndInclusive()Ljava/lang/Integer;
|
|
.locals 1
|
|
|
|
iget v0, p0, Lkotlin/ranges/IntProgression;->e:I
|
|
|
|
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public bridge synthetic getStart()Ljava/lang/Comparable;
|
|
.locals 1
|
|
|
|
invoke-virtual {p0}, Lkotlin/ranges/IntRange;->getStart()Ljava/lang/Integer;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getStart()Ljava/lang/Integer;
|
|
.locals 1
|
|
|
|
iget v0, p0, Lkotlin/ranges/IntProgression;->d:I
|
|
|
|
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public hashCode()I
|
|
.locals 2
|
|
|
|
invoke-virtual {p0}, Lkotlin/ranges/IntRange;->isEmpty()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const/4 v0, -0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
iget v0, p0, Lkotlin/ranges/IntProgression;->d:I
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget v1, p0, Lkotlin/ranges/IntProgression;->e:I
|
|
|
|
add-int/2addr v0, v1
|
|
|
|
:goto_0
|
|
return v0
|
|
.end method
|
|
|
|
.method public isEmpty()Z
|
|
.locals 2
|
|
|
|
iget v0, p0, Lkotlin/ranges/IntProgression;->d:I
|
|
|
|
iget v1, p0, Lkotlin/ranges/IntProgression;->e:I
|
|
|
|
if-le v0, v1, :cond_0
|
|
|
|
const/4 v0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
:goto_0
|
|
return v0
|
|
.end method
|
|
|
|
.method public toString()Ljava/lang/String;
|
|
.locals 2
|
|
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
iget v1, p0, Lkotlin/ranges/IntProgression;->d:I
|
|
|
|
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;
|
|
|
|
iget v1, p0, Lkotlin/ranges/IntProgression;->e:I
|
|
|
|
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
|