2021-07-24 02:37:17 +00:00
|
|
|
package androidx.core.util;
|
|
|
|
|
|
|
|
import android.util.Range;
|
2021-11-02 06:38:17 +00:00
|
|
|
import d0.d0.a;
|
2021-07-24 02:37:17 +00:00
|
|
|
/* compiled from: Range.kt */
|
|
|
|
public final class RangeKt$toClosedRange$1 implements a<T> {
|
2021-09-15 06:33:54 +00:00
|
|
|
public final /* synthetic */ Range<T> $this_toClosedRange;
|
2021-07-24 02:37:17 +00:00
|
|
|
|
|
|
|
public RangeKt$toClosedRange$1(Range<T> range) {
|
|
|
|
this.$this_toClosedRange = range;
|
|
|
|
}
|
|
|
|
|
2021-11-02 06:38:17 +00:00
|
|
|
@Override // d0.d0.a
|
2021-07-24 02:37:17 +00:00
|
|
|
public boolean contains(T t) {
|
2022-02-01 08:01:17 +00:00
|
|
|
return a.C0194a.contains(this, t);
|
2021-07-24 02:37:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* JADX WARNING: Unknown variable types count: 1 */
|
2021-11-02 06:38:17 +00:00
|
|
|
@Override // d0.d0.a
|
2021-07-24 02:37:17 +00:00
|
|
|
public T getEndInclusive() {
|
|
|
|
return this.$this_toClosedRange.getUpper();
|
|
|
|
}
|
|
|
|
|
|
|
|
/* JADX WARNING: Unknown variable types count: 1 */
|
2021-11-02 06:38:17 +00:00
|
|
|
@Override // d0.d0.a
|
2021-07-24 02:37:17 +00:00
|
|
|
public T getStart() {
|
|
|
|
return this.$this_toClosedRange.getLower();
|
|
|
|
}
|
|
|
|
|
|
|
|
public boolean isEmpty() {
|
2022-02-01 08:01:17 +00:00
|
|
|
return a.C0194a.isEmpty(this);
|
2021-07-24 02:37:17 +00:00
|
|
|
}
|
|
|
|
}
|