2021-06-27 20:44:35 +00:00
|
|
|
package androidx.core.util;
|
|
|
|
|
|
|
|
import android.util.Range;
|
2021-11-08 18:25:28 +00:00
|
|
|
import d0.d0.a;
|
2021-06-27 20:44:35 +00:00
|
|
|
/* compiled from: Range.kt */
|
2022-03-02 20:59:20 +00:00
|
|
|
/* loaded from: classes.dex */
|
2021-06-27 20:44:35 +00:00
|
|
|
public final class RangeKt$toClosedRange$1 implements a<T> {
|
2021-09-29 00:45:08 +00:00
|
|
|
public final /* synthetic */ Range<T> $this_toClosedRange;
|
2021-06-27 20:44:35 +00:00
|
|
|
|
|
|
|
public RangeKt$toClosedRange$1(Range<T> range) {
|
|
|
|
this.$this_toClosedRange = range;
|
|
|
|
}
|
|
|
|
|
2022-03-02 20:59:20 +00:00
|
|
|
/* JADX WARN: Incorrect types in method signature: (TT;)Z */
|
2021-11-08 18:25:28 +00:00
|
|
|
@Override // d0.d0.a
|
2022-03-02 20:59:20 +00:00
|
|
|
public boolean contains(Comparable comparable) {
|
2022-03-30 16:43:10 +00:00
|
|
|
return a.C0267a.contains(this, comparable);
|
2021-06-27 20:44:35 +00:00
|
|
|
}
|
|
|
|
|
2022-03-02 20:59:20 +00:00
|
|
|
/* JADX WARN: Incorrect return type in method signature: ()TT; */
|
2021-11-08 18:25:28 +00:00
|
|
|
@Override // d0.d0.a
|
2022-03-02 20:59:20 +00:00
|
|
|
public Comparable getEndInclusive() {
|
2021-06-27 20:44:35 +00:00
|
|
|
return this.$this_toClosedRange.getUpper();
|
|
|
|
}
|
|
|
|
|
2022-03-02 20:59:20 +00:00
|
|
|
/* JADX WARN: Incorrect return type in method signature: ()TT; */
|
2021-11-08 18:25:28 +00:00
|
|
|
@Override // d0.d0.a
|
2022-03-02 20:59:20 +00:00
|
|
|
public Comparable getStart() {
|
2021-06-27 20:44:35 +00:00
|
|
|
return this.$this_toClosedRange.getLower();
|
|
|
|
}
|
|
|
|
|
|
|
|
public boolean isEmpty() {
|
2022-03-30 16:43:10 +00:00
|
|
|
return a.C0267a.isEmpty(this);
|
2021-06-27 20:44:35 +00:00
|
|
|
}
|
|
|
|
}
|