156 lines
3.4 KiB
Smali
156 lines
3.4 KiB
Smali
|
.class public final Landroidx/core/util/RangeKt$toClosedRange$1;
|
||
|
.super Ljava/lang/Object;
|
||
|
.source "Range.kt"
|
||
|
|
||
|
# interfaces
|
||
|
.implements Lkotlin/ranges/a;
|
||
|
|
||
|
|
||
|
# annotations
|
||
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||
|
value = Landroidx/core/util/RangeKt;->toClosedRange(Landroid/util/Range;)Lkotlin/ranges/a;
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/InnerClass;
|
||
|
accessFlags = 0x19
|
||
|
name = null
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"Ljava/lang/Object;",
|
||
|
"Lkotlin/ranges/a<",
|
||
|
"TT;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# instance fields
|
||
|
.field final synthetic receiver$0:Landroid/util/Range;
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method constructor <init>(Landroid/util/Range;)V
|
||
|
.locals 0
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"(",
|
||
|
"Landroid/util/Range<",
|
||
|
"TT;>;)V"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
iput-object p1, p0, Landroidx/core/util/RangeKt$toClosedRange$1;->receiver$0:Landroid/util/Range;
|
||
|
|
||
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
|
||
|
# virtual methods
|
||
|
.method public final contains(Ljava/lang/Comparable;)Z
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"(TT;)Z"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "value"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/k;->h(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 v0
|
||
|
|
||
|
invoke-interface {p1, v0}, Ljava/lang/Comparable;->compareTo(Ljava/lang/Object;)I
|
||
|
|
||
|
move-result p1
|
||
|
|
||
|
if-gtz p1, :cond_0
|
||
|
|
||
|
const/4 p1, 0x1
|
||
|
|
||
|
return p1
|
||
|
|
||
|
:cond_0
|
||
|
const/4 p1, 0x0
|
||
|
|
||
|
return p1
|
||
|
.end method
|
||
|
|
||
|
.method public final getEndInclusive()Ljava/lang/Comparable;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"()TT;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
iget-object v0, p0, Landroidx/core/util/RangeKt$toClosedRange$1;->receiver$0:Landroid/util/Range;
|
||
|
|
||
|
invoke-virtual {v0}, Landroid/util/Range;->getUpper()Ljava/lang/Comparable;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public final getStart()Ljava/lang/Comparable;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"()TT;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
iget-object v0, p0, Landroidx/core/util/RangeKt$toClosedRange$1;->receiver$0:Landroid/util/Range;
|
||
|
|
||
|
invoke-virtual {v0}, Landroid/util/Range;->getLower()Ljava/lang/Comparable;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public final isEmpty()Z
|
||
|
.locals 2
|
||
|
|
||
|
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 v1
|
||
|
|
||
|
invoke-interface {v0, v1}, Ljava/lang/Comparable;->compareTo(Ljava/lang/Object;)I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-lez v0, :cond_0
|
||
|
|
||
|
const/4 v0, 0x1
|
||
|
|
||
|
return v0
|
||
|
|
||
|
:cond_0
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
return v0
|
||
|
.end method
|