98 lines
2.1 KiB
Smali
98 lines
2.1 KiB
Smali
.class public final Lkotlin/ranges/a$a;
|
|
.super Ljava/lang/Object;
|
|
.source "Range.kt"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lkotlin/ranges/a;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = "a"
|
|
.end annotation
|
|
|
|
|
|
# direct methods
|
|
.method public static contains(Lkotlin/ranges/a;Ljava/lang/Comparable;)Z
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T::",
|
|
"Ljava/lang/Comparable<",
|
|
"-TT;>;>(",
|
|
"Lkotlin/ranges/a<",
|
|
"TT;>;TT;)Z"
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "value"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
invoke-interface {p0}, Lkotlin/ranges/a;->getStart()Ljava/lang/Comparable;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-interface {p1, v0}, Ljava/lang/Comparable;->compareTo(Ljava/lang/Object;)I
|
|
|
|
move-result v0
|
|
|
|
if-ltz v0, :cond_0
|
|
|
|
invoke-interface {p0}, Lkotlin/ranges/a;->getEndInclusive()Ljava/lang/Comparable;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-interface {p1, p0}, Ljava/lang/Comparable;->compareTo(Ljava/lang/Object;)I
|
|
|
|
move-result p0
|
|
|
|
if-gtz p0, :cond_0
|
|
|
|
const/4 p0, 0x1
|
|
|
|
return p0
|
|
|
|
:cond_0
|
|
const/4 p0, 0x0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static isEmpty(Lkotlin/ranges/a;)Z
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T::",
|
|
"Ljava/lang/Comparable<",
|
|
"-TT;>;>(",
|
|
"Lkotlin/ranges/a<",
|
|
"TT;>;)Z"
|
|
}
|
|
.end annotation
|
|
|
|
invoke-interface {p0}, Lkotlin/ranges/a;->getStart()Ljava/lang/Comparable;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-interface {p0}, Lkotlin/ranges/a;->getEndInclusive()Ljava/lang/Comparable;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-interface {v0, p0}, Ljava/lang/Comparable;->compareTo(Ljava/lang/Object;)I
|
|
|
|
move-result p0
|
|
|
|
if-lez p0, :cond_0
|
|
|
|
const/4 p0, 0x1
|
|
|
|
return p0
|
|
|
|
:cond_0
|
|
const/4 p0, 0x0
|
|
|
|
return p0
|
|
.end method
|