Primer paso de la investigacion. Se aportan el .apk, las carpetas con el apk extraido y el apk descompilado. El archivo API_DOCUMENTATION.md es un archivo donde se anotaran los descubrimientos del funcionamiento de la API, y los .py son scripts para probar la funcionalidad de la API con los métodos que vayamos encontrando. Finalmente, los archivos .js son scripts de Frida para extraer informacion de la APP durante la ejecucion.
This commit is contained in:
107
apk_decompiled/sources/kotlin/ranges/CharProgression.java
Normal file
107
apk_decompiled/sources/kotlin/ranges/CharProgression.java
Normal file
@@ -0,0 +1,107 @@
|
||||
package kotlin.ranges;
|
||||
|
||||
import java.util.Iterator;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.internal.ProgressionUtilKt;
|
||||
import kotlin.jvm.internal.DefaultConstructorMarker;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
import kotlin.jvm.internal.markers.KMappedMarker;
|
||||
|
||||
@Metadata(d1 = {"\u00004\n\u0002\u0018\u0002\n\u0002\u0010\u001c\n\u0002\u0010\f\n\u0002\b\u0003\n\u0002\u0010\b\n\u0002\b\t\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0000\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0002\b\u0016\u0018\u0000 \u00192\b\u0012\u0004\u0012\u00020\u00020\u0001:\u0001\u0019B\u001f\b\u0000\u0012\u0006\u0010\u0003\u001a\u00020\u0002\u0012\u0006\u0010\u0004\u001a\u00020\u0002\u0012\u0006\u0010\u0005\u001a\u00020\u0006¢\u0006\u0002\u0010\u0007J\u0013\u0010\u000f\u001a\u00020\u00102\b\u0010\u0011\u001a\u0004\u0018\u00010\u0012H\u0096\u0002J\b\u0010\u0013\u001a\u00020\u0006H\u0016J\b\u0010\u0014\u001a\u00020\u0010H\u0016J\t\u0010\u0015\u001a\u00020\u0016H\u0096\u0002J\b\u0010\u0017\u001a\u00020\u0018H\u0016R\u0011\u0010\b\u001a\u00020\u0002¢\u0006\b\n\u0000\u001a\u0004\b\t\u0010\nR\u0011\u0010\u000b\u001a\u00020\u0002¢\u0006\b\n\u0000\u001a\u0004\b\f\u0010\nR\u0011\u0010\u0005\u001a\u00020\u0006¢\u0006\b\n\u0000\u001a\u0004\b\r\u0010\u000e¨\u0006\u001a"}, d2 = {"Lkotlin/ranges/CharProgression;", "", "", "start", "endInclusive", "step", "", "(CCI)V", "first", "getFirst", "()C", "last", "getLast", "getStep", "()I", "equals", "", "other", "", "hashCode", "isEmpty", "iterator", "Lkotlin/collections/CharIterator;", "toString", "", "Companion", "kotlin-stdlib"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes3.dex */
|
||||
public class CharProgression implements Iterable<Character>, KMappedMarker {
|
||||
|
||||
/* renamed from: Companion, reason: from kotlin metadata */
|
||||
public static final Companion INSTANCE = new Companion(null);
|
||||
private final char first;
|
||||
private final char last;
|
||||
private final int step;
|
||||
|
||||
@Metadata(d1 = {"\u0000 \n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\f\n\u0002\b\u0002\n\u0002\u0010\b\n\u0000\b\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002J\u001e\u0010\u0003\u001a\u00020\u00042\u0006\u0010\u0005\u001a\u00020\u00062\u0006\u0010\u0007\u001a\u00020\u00062\u0006\u0010\b\u001a\u00020\t¨\u0006\n"}, d2 = {"Lkotlin/ranges/CharProgression$Companion;", "", "()V", "fromClosedRange", "Lkotlin/ranges/CharProgression;", "rangeStart", "", "rangeEnd", "step", "", "kotlin-stdlib"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes3.dex */
|
||||
public static final class Companion {
|
||||
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
|
||||
this();
|
||||
}
|
||||
|
||||
public final CharProgression fromClosedRange(char rangeStart, char rangeEnd, int step) {
|
||||
return new CharProgression(rangeStart, rangeEnd, step);
|
||||
}
|
||||
|
||||
private Companion() {
|
||||
}
|
||||
}
|
||||
|
||||
public CharProgression(char c4, char c5, int i) {
|
||||
if (i == 0) {
|
||||
throw new IllegalArgumentException("Step must be non-zero.");
|
||||
}
|
||||
if (i == Integer.MIN_VALUE) {
|
||||
throw new IllegalArgumentException("Step must be greater than Int.MIN_VALUE to avoid overflow on negation.");
|
||||
}
|
||||
this.first = c4;
|
||||
this.last = (char) ProgressionUtilKt.getProgressionLastElement((int) c4, (int) c5, i);
|
||||
this.step = i;
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (!(other instanceof CharProgression)) {
|
||||
return false;
|
||||
}
|
||||
if (isEmpty() && ((CharProgression) other).isEmpty()) {
|
||||
return true;
|
||||
}
|
||||
CharProgression charProgression = (CharProgression) other;
|
||||
return this.first == charProgression.first && this.last == charProgression.last && this.step == charProgression.step;
|
||||
}
|
||||
|
||||
public final char getFirst() {
|
||||
return this.first;
|
||||
}
|
||||
|
||||
public final char getLast() {
|
||||
return this.last;
|
||||
}
|
||||
|
||||
public final int getStep() {
|
||||
return this.step;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
if (isEmpty()) {
|
||||
return -1;
|
||||
}
|
||||
return (((this.first * 31) + this.last) * 31) + this.step;
|
||||
}
|
||||
|
||||
public boolean isEmpty() {
|
||||
return this.step > 0 ? Intrinsics.compare((int) this.first, (int) this.last) > 0 : Intrinsics.compare((int) this.first, (int) this.last) < 0;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder sb;
|
||||
int i;
|
||||
if (this.step > 0) {
|
||||
sb = new StringBuilder();
|
||||
sb.append(this.first);
|
||||
sb.append("..");
|
||||
sb.append(this.last);
|
||||
sb.append(" step ");
|
||||
i = this.step;
|
||||
} else {
|
||||
sb = new StringBuilder();
|
||||
sb.append(this.first);
|
||||
sb.append(" downTo ");
|
||||
sb.append(this.last);
|
||||
sb.append(" step ");
|
||||
i = -this.step;
|
||||
}
|
||||
sb.append(i);
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
@Override // java.lang.Iterable
|
||||
public Iterator<Character> iterator() {
|
||||
return new CharProgressionIterator(this.first, this.last, this.step);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,49 @@
|
||||
package kotlin.ranges;
|
||||
|
||||
import java.util.NoSuchElementException;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.collections.CharIterator;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@Metadata(d1 = {"\u0000\"\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\f\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0003\n\u0002\u0010\u000b\n\u0002\b\u0005\b\u0000\u0018\u00002\u00020\u0001B\u001d\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0003\u0012\u0006\u0010\u0005\u001a\u00020\u0006¢\u0006\u0002\u0010\u0007J\t\u0010\t\u001a\u00020\nH\u0096\u0002J\b\u0010\u000e\u001a\u00020\u0003H\u0016R\u000e\u0010\b\u001a\u00020\u0006X\u0082\u0004¢\u0006\u0002\n\u0000R\u000e\u0010\t\u001a\u00020\nX\u0082\u000e¢\u0006\u0002\n\u0000R\u000e\u0010\u000b\u001a\u00020\u0006X\u0082\u000e¢\u0006\u0002\n\u0000R\u0011\u0010\u0005\u001a\u00020\u0006¢\u0006\b\n\u0000\u001a\u0004\b\f\u0010\r¨\u0006\u000f"}, d2 = {"Lkotlin/ranges/CharProgressionIterator;", "Lkotlin/collections/CharIterator;", "first", "", "last", "step", "", "(CCI)V", "finalElement", "hasNext", "", "next", "getStep", "()I", "nextChar", "kotlin-stdlib"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes3.dex */
|
||||
public final class CharProgressionIterator extends CharIterator {
|
||||
private final int finalElement;
|
||||
private boolean hasNext;
|
||||
private int next;
|
||||
private final int step;
|
||||
|
||||
public CharProgressionIterator(char c4, char c5, int i) {
|
||||
this.step = i;
|
||||
this.finalElement = c5;
|
||||
boolean z3 = false;
|
||||
if (i <= 0 ? Intrinsics.compare((int) c4, (int) c5) >= 0 : Intrinsics.compare((int) c4, (int) c5) <= 0) {
|
||||
z3 = true;
|
||||
}
|
||||
this.hasNext = z3;
|
||||
this.next = z3 ? c4 : c5;
|
||||
}
|
||||
|
||||
public final int getStep() {
|
||||
return this.step;
|
||||
}
|
||||
|
||||
@Override // java.util.Iterator
|
||||
public boolean hasNext() {
|
||||
return this.hasNext;
|
||||
}
|
||||
|
||||
@Override // kotlin.collections.CharIterator
|
||||
public char nextChar() {
|
||||
int i = this.next;
|
||||
if (i != this.finalElement) {
|
||||
this.next = this.step + i;
|
||||
} else {
|
||||
if (!this.hasNext) {
|
||||
throw new NoSuchElementException();
|
||||
}
|
||||
this.hasNext = false;
|
||||
}
|
||||
return (char) i;
|
||||
}
|
||||
}
|
||||
102
apk_decompiled/sources/kotlin/ranges/CharRange.java
Normal file
102
apk_decompiled/sources/kotlin/ranges/CharRange.java
Normal file
@@ -0,0 +1,102 @@
|
||||
package kotlin.ranges;
|
||||
|
||||
import kotlin.Deprecated;
|
||||
import kotlin.ExperimentalStdlibApi;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.SinceKotlin;
|
||||
import kotlin.WasExperimental;
|
||||
import kotlin.jvm.internal.DefaultConstructorMarker;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@Metadata(d1 = {"\u00006\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\f\n\u0002\u0018\u0002\n\u0002\b\u000b\n\u0002\u0010\u000b\n\u0002\b\u0003\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0002\b\u0002\u0018\u0000 \u001a2\u00020\u00012\b\u0012\u0004\u0012\u00020\u00030\u00022\b\u0012\u0004\u0012\u00020\u00030\u0004:\u0001\u001aB\u0015\u0012\u0006\u0010\u0005\u001a\u00020\u0003\u0012\u0006\u0010\u0006\u001a\u00020\u0003¢\u0006\u0002\u0010\u0007J\u0011\u0010\u000f\u001a\u00020\u00102\u0006\u0010\u0011\u001a\u00020\u0003H\u0096\u0002J\u0013\u0010\u0012\u001a\u00020\u00102\b\u0010\u0013\u001a\u0004\u0018\u00010\u0014H\u0096\u0002J\b\u0010\u0015\u001a\u00020\u0016H\u0016J\b\u0010\u0017\u001a\u00020\u0010H\u0016J\b\u0010\u0018\u001a\u00020\u0019H\u0016R\u001a\u0010\b\u001a\u00020\u00038VX\u0097\u0004¢\u0006\f\u0012\u0004\b\t\u0010\n\u001a\u0004\b\u000b\u0010\fR\u0014\u0010\u0006\u001a\u00020\u00038VX\u0096\u0004¢\u0006\u0006\u001a\u0004\b\r\u0010\fR\u0014\u0010\u0005\u001a\u00020\u00038VX\u0096\u0004¢\u0006\u0006\u001a\u0004\b\u000e\u0010\f¨\u0006\u001b"}, d2 = {"Lkotlin/ranges/CharRange;", "Lkotlin/ranges/CharProgression;", "Lkotlin/ranges/ClosedRange;", "", "Lkotlin/ranges/OpenEndRange;", "start", "endInclusive", "(CC)V", "endExclusive", "getEndExclusive$annotations", "()V", "getEndExclusive", "()Ljava/lang/Character;", "getEndInclusive", "getStart", "contains", "", "value", "equals", "other", "", "hashCode", "", "isEmpty", "toString", "", "Companion", "kotlin-stdlib"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes3.dex */
|
||||
public final class CharRange extends CharProgression implements ClosedRange<Character>, OpenEndRange<Character> {
|
||||
|
||||
/* renamed from: Companion, reason: from kotlin metadata */
|
||||
public static final Companion INSTANCE = new Companion(null);
|
||||
private static final CharRange EMPTY = new CharRange(1, 0);
|
||||
|
||||
@Metadata(d1 = {"\u0000\u0014\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\b\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002R\u0011\u0010\u0003\u001a\u00020\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0005\u0010\u0006¨\u0006\u0007"}, d2 = {"Lkotlin/ranges/CharRange$Companion;", "", "()V", "EMPTY", "Lkotlin/ranges/CharRange;", "getEMPTY", "()Lkotlin/ranges/CharRange;", "kotlin-stdlib"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes3.dex */
|
||||
public static final class Companion {
|
||||
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
|
||||
this();
|
||||
}
|
||||
|
||||
public final CharRange getEMPTY() {
|
||||
return CharRange.EMPTY;
|
||||
}
|
||||
|
||||
private Companion() {
|
||||
}
|
||||
}
|
||||
|
||||
public CharRange(char c4, char c5) {
|
||||
super(c4, c5, 1);
|
||||
}
|
||||
|
||||
@Deprecated(message = "Can throw an exception when it's impossible to represent the value with Char type, for example, when the range includes MAX_VALUE. It's recommended to use 'endInclusive' property that doesn't throw.")
|
||||
@SinceKotlin(version = "1.9")
|
||||
@WasExperimental(markerClass = {ExperimentalStdlibApi.class})
|
||||
public static /* synthetic */ void getEndExclusive$annotations() {
|
||||
}
|
||||
|
||||
@Override // kotlin.ranges.ClosedRange, kotlin.ranges.OpenEndRange
|
||||
public /* bridge */ /* synthetic */ boolean contains(Comparable comparable) {
|
||||
return contains(((Character) comparable).charValue());
|
||||
}
|
||||
|
||||
@Override // kotlin.ranges.CharProgression
|
||||
public boolean equals(Object other) {
|
||||
if (!(other instanceof CharRange)) {
|
||||
return false;
|
||||
}
|
||||
if (isEmpty() && ((CharRange) other).isEmpty()) {
|
||||
return true;
|
||||
}
|
||||
CharRange charRange = (CharRange) other;
|
||||
return getFirst() == charRange.getFirst() && getLast() == charRange.getLast();
|
||||
}
|
||||
|
||||
@Override // kotlin.ranges.CharProgression
|
||||
public int hashCode() {
|
||||
if (isEmpty()) {
|
||||
return -1;
|
||||
}
|
||||
return getLast() + (getFirst() * 31);
|
||||
}
|
||||
|
||||
@Override // kotlin.ranges.CharProgression, kotlin.ranges.ClosedRange, kotlin.ranges.OpenEndRange
|
||||
public boolean isEmpty() {
|
||||
return Intrinsics.compare((int) getFirst(), (int) getLast()) > 0;
|
||||
}
|
||||
|
||||
@Override // kotlin.ranges.CharProgression
|
||||
public String toString() {
|
||||
return getFirst() + ".." + getLast();
|
||||
}
|
||||
|
||||
public boolean contains(char value) {
|
||||
return Intrinsics.compare((int) getFirst(), (int) value) <= 0 && Intrinsics.compare((int) value, (int) getLast()) <= 0;
|
||||
}
|
||||
|
||||
/* JADX WARN: Can't rename method to resolve collision */
|
||||
@Override // kotlin.ranges.OpenEndRange
|
||||
public Character getEndExclusive() {
|
||||
if (getLast() != 65535) {
|
||||
return Character.valueOf((char) (getLast() + 1));
|
||||
}
|
||||
throw new IllegalStateException("Cannot return the exclusive upper bound of a range that includes MAX_VALUE.");
|
||||
}
|
||||
|
||||
/* JADX WARN: Can't rename method to resolve collision */
|
||||
@Override // kotlin.ranges.ClosedRange
|
||||
public Character getEndInclusive() {
|
||||
return Character.valueOf(getLast());
|
||||
}
|
||||
|
||||
@Override // kotlin.ranges.ClosedRange, kotlin.ranges.OpenEndRange
|
||||
public Character getStart() {
|
||||
return Character.valueOf(getFirst());
|
||||
}
|
||||
}
|
||||
71
apk_decompiled/sources/kotlin/ranges/ClosedDoubleRange.java
Normal file
71
apk_decompiled/sources/kotlin/ranges/ClosedDoubleRange.java
Normal file
@@ -0,0 +1,71 @@
|
||||
package kotlin.ranges;
|
||||
|
||||
import kotlin.Metadata;
|
||||
|
||||
@Metadata(d1 = {"\u0000,\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u0006\n\u0002\b\t\n\u0002\u0010\u000b\n\u0002\b\u0003\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0002\b\u0005\n\u0002\u0010\u000e\n\u0000\b\u0002\u0018\u00002\b\u0012\u0004\u0012\u00020\u00020\u0001B\u0015\u0012\u0006\u0010\u0003\u001a\u00020\u0002\u0012\u0006\u0010\u0004\u001a\u00020\u0002¢\u0006\u0002\u0010\u0005J\u0011\u0010\u000b\u001a\u00020\f2\u0006\u0010\r\u001a\u00020\u0002H\u0096\u0002J\u0013\u0010\u000e\u001a\u00020\f2\b\u0010\u000f\u001a\u0004\u0018\u00010\u0010H\u0096\u0002J\b\u0010\u0011\u001a\u00020\u0012H\u0016J\b\u0010\u0013\u001a\u00020\fH\u0016J\u0018\u0010\u0014\u001a\u00020\f2\u0006\u0010\u0015\u001a\u00020\u00022\u0006\u0010\u0016\u001a\u00020\u0002H\u0016J\b\u0010\u0017\u001a\u00020\u0018H\u0016R\u000e\u0010\u0006\u001a\u00020\u0002X\u0082\u0004¢\u0006\u0002\n\u0000R\u000e\u0010\u0007\u001a\u00020\u0002X\u0082\u0004¢\u0006\u0002\n\u0000R\u0014\u0010\u0004\u001a\u00020\u00028VX\u0096\u0004¢\u0006\u0006\u001a\u0004\b\b\u0010\tR\u0014\u0010\u0003\u001a\u00020\u00028VX\u0096\u0004¢\u0006\u0006\u001a\u0004\b\n\u0010\t¨\u0006\u0019"}, d2 = {"Lkotlin/ranges/ClosedDoubleRange;", "Lkotlin/ranges/ClosedFloatingPointRange;", "", "start", "endInclusive", "(DD)V", "_endInclusive", "_start", "getEndInclusive", "()Ljava/lang/Double;", "getStart", "contains", "", "value", "equals", "other", "", "hashCode", "", "isEmpty", "lessThanOrEquals", "a", "b", "toString", "", "kotlin-stdlib"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes3.dex */
|
||||
final class ClosedDoubleRange implements ClosedFloatingPointRange<Double> {
|
||||
private final double _endInclusive;
|
||||
private final double _start;
|
||||
|
||||
public ClosedDoubleRange(double d4, double d5) {
|
||||
this._start = d4;
|
||||
this._endInclusive = d5;
|
||||
}
|
||||
|
||||
/* JADX WARN: Multi-variable type inference failed */
|
||||
@Override // kotlin.ranges.ClosedFloatingPointRange, kotlin.ranges.ClosedRange, kotlin.ranges.OpenEndRange
|
||||
public /* bridge */ /* synthetic */ boolean contains(Comparable comparable) {
|
||||
return contains(((Number) comparable).doubleValue());
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (!(other instanceof ClosedDoubleRange)) {
|
||||
return false;
|
||||
}
|
||||
if (isEmpty() && ((ClosedDoubleRange) other).isEmpty()) {
|
||||
return true;
|
||||
}
|
||||
ClosedDoubleRange closedDoubleRange = (ClosedDoubleRange) other;
|
||||
return this._start == closedDoubleRange._start && this._endInclusive == closedDoubleRange._endInclusive;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
if (isEmpty()) {
|
||||
return -1;
|
||||
}
|
||||
return Double.hashCode(this._endInclusive) + (Double.hashCode(this._start) * 31);
|
||||
}
|
||||
|
||||
@Override // kotlin.ranges.ClosedFloatingPointRange, kotlin.ranges.ClosedRange, kotlin.ranges.OpenEndRange
|
||||
public boolean isEmpty() {
|
||||
return this._start > this._endInclusive;
|
||||
}
|
||||
|
||||
public boolean lessThanOrEquals(double a2, double b4) {
|
||||
return a2 <= b4;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return this._start + ".." + this._endInclusive;
|
||||
}
|
||||
|
||||
public boolean contains(double value) {
|
||||
return value >= this._start && value <= this._endInclusive;
|
||||
}
|
||||
|
||||
@Override // kotlin.ranges.ClosedRange
|
||||
public Double getEndInclusive() {
|
||||
return Double.valueOf(this._endInclusive);
|
||||
}
|
||||
|
||||
@Override // kotlin.ranges.ClosedRange, kotlin.ranges.OpenEndRange
|
||||
public Double getStart() {
|
||||
return Double.valueOf(this._start);
|
||||
}
|
||||
|
||||
@Override // kotlin.ranges.ClosedFloatingPointRange
|
||||
public /* bridge */ /* synthetic */ boolean lessThanOrEquals(Double d4, Double d5) {
|
||||
return lessThanOrEquals(d4.doubleValue(), d5.doubleValue());
|
||||
}
|
||||
}
|
||||
71
apk_decompiled/sources/kotlin/ranges/ClosedFloatRange.java
Normal file
71
apk_decompiled/sources/kotlin/ranges/ClosedFloatRange.java
Normal file
@@ -0,0 +1,71 @@
|
||||
package kotlin.ranges;
|
||||
|
||||
import kotlin.Metadata;
|
||||
|
||||
@Metadata(d1 = {"\u0000,\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u0007\n\u0002\b\t\n\u0002\u0010\u000b\n\u0002\b\u0003\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0002\b\u0005\n\u0002\u0010\u000e\n\u0000\b\u0002\u0018\u00002\b\u0012\u0004\u0012\u00020\u00020\u0001B\u0015\u0012\u0006\u0010\u0003\u001a\u00020\u0002\u0012\u0006\u0010\u0004\u001a\u00020\u0002¢\u0006\u0002\u0010\u0005J\u0011\u0010\u000b\u001a\u00020\f2\u0006\u0010\r\u001a\u00020\u0002H\u0096\u0002J\u0013\u0010\u000e\u001a\u00020\f2\b\u0010\u000f\u001a\u0004\u0018\u00010\u0010H\u0096\u0002J\b\u0010\u0011\u001a\u00020\u0012H\u0016J\b\u0010\u0013\u001a\u00020\fH\u0016J\u0018\u0010\u0014\u001a\u00020\f2\u0006\u0010\u0015\u001a\u00020\u00022\u0006\u0010\u0016\u001a\u00020\u0002H\u0016J\b\u0010\u0017\u001a\u00020\u0018H\u0016R\u000e\u0010\u0006\u001a\u00020\u0002X\u0082\u0004¢\u0006\u0002\n\u0000R\u000e\u0010\u0007\u001a\u00020\u0002X\u0082\u0004¢\u0006\u0002\n\u0000R\u0014\u0010\u0004\u001a\u00020\u00028VX\u0096\u0004¢\u0006\u0006\u001a\u0004\b\b\u0010\tR\u0014\u0010\u0003\u001a\u00020\u00028VX\u0096\u0004¢\u0006\u0006\u001a\u0004\b\n\u0010\t¨\u0006\u0019"}, d2 = {"Lkotlin/ranges/ClosedFloatRange;", "Lkotlin/ranges/ClosedFloatingPointRange;", "", "start", "endInclusive", "(FF)V", "_endInclusive", "_start", "getEndInclusive", "()Ljava/lang/Float;", "getStart", "contains", "", "value", "equals", "other", "", "hashCode", "", "isEmpty", "lessThanOrEquals", "a", "b", "toString", "", "kotlin-stdlib"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes3.dex */
|
||||
final class ClosedFloatRange implements ClosedFloatingPointRange<Float> {
|
||||
private final float _endInclusive;
|
||||
private final float _start;
|
||||
|
||||
public ClosedFloatRange(float f2, float f4) {
|
||||
this._start = f2;
|
||||
this._endInclusive = f4;
|
||||
}
|
||||
|
||||
/* JADX WARN: Multi-variable type inference failed */
|
||||
@Override // kotlin.ranges.ClosedFloatingPointRange, kotlin.ranges.ClosedRange, kotlin.ranges.OpenEndRange
|
||||
public /* bridge */ /* synthetic */ boolean contains(Comparable comparable) {
|
||||
return contains(((Number) comparable).floatValue());
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (!(other instanceof ClosedFloatRange)) {
|
||||
return false;
|
||||
}
|
||||
if (isEmpty() && ((ClosedFloatRange) other).isEmpty()) {
|
||||
return true;
|
||||
}
|
||||
ClosedFloatRange closedFloatRange = (ClosedFloatRange) other;
|
||||
return this._start == closedFloatRange._start && this._endInclusive == closedFloatRange._endInclusive;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
if (isEmpty()) {
|
||||
return -1;
|
||||
}
|
||||
return Float.hashCode(this._endInclusive) + (Float.hashCode(this._start) * 31);
|
||||
}
|
||||
|
||||
@Override // kotlin.ranges.ClosedFloatingPointRange, kotlin.ranges.ClosedRange, kotlin.ranges.OpenEndRange
|
||||
public boolean isEmpty() {
|
||||
return this._start > this._endInclusive;
|
||||
}
|
||||
|
||||
public boolean lessThanOrEquals(float a2, float b4) {
|
||||
return a2 <= b4;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return this._start + ".." + this._endInclusive;
|
||||
}
|
||||
|
||||
public boolean contains(float value) {
|
||||
return value >= this._start && value <= this._endInclusive;
|
||||
}
|
||||
|
||||
@Override // kotlin.ranges.ClosedRange
|
||||
public Float getEndInclusive() {
|
||||
return Float.valueOf(this._endInclusive);
|
||||
}
|
||||
|
||||
@Override // kotlin.ranges.ClosedRange, kotlin.ranges.OpenEndRange
|
||||
public Float getStart() {
|
||||
return Float.valueOf(this._start);
|
||||
}
|
||||
|
||||
@Override // kotlin.ranges.ClosedFloatingPointRange
|
||||
public /* bridge */ /* synthetic */ boolean lessThanOrEquals(Float f2, Float f4) {
|
||||
return lessThanOrEquals(f2.floatValue(), f4.floatValue());
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
package kotlin.ranges;
|
||||
|
||||
import java.lang.Comparable;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.SinceKotlin;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@SinceKotlin(version = "1.1")
|
||||
@Metadata(d1 = {"\u0000\u0018\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000f\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000b\n\u0002\b\b\bg\u0018\u0000*\u000e\b\u0000\u0010\u0001*\b\u0012\u0004\u0012\u0002H\u00010\u00022\b\u0012\u0004\u0012\u0002H\u00010\u0003J\u0016\u0010\u0004\u001a\u00020\u00052\u0006\u0010\u0006\u001a\u00028\u0000H\u0096\u0002¢\u0006\u0002\u0010\u0007J\b\u0010\b\u001a\u00020\u0005H\u0016J\u001d\u0010\t\u001a\u00020\u00052\u0006\u0010\n\u001a\u00028\u00002\u0006\u0010\u000b\u001a\u00028\u0000H&¢\u0006\u0002\u0010\f¨\u0006\r"}, d2 = {"Lkotlin/ranges/ClosedFloatingPointRange;", "T", "", "Lkotlin/ranges/ClosedRange;", "contains", "", "value", "(Ljava/lang/Comparable;)Z", "isEmpty", "lessThanOrEquals", "a", "b", "(Ljava/lang/Comparable;Ljava/lang/Comparable;)Z", "kotlin-stdlib"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes3.dex */
|
||||
public interface ClosedFloatingPointRange<T extends Comparable<? super T>> extends ClosedRange<T> {
|
||||
|
||||
@Metadata(k = 3, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes3.dex */
|
||||
public static final class DefaultImpls {
|
||||
public static <T extends Comparable<? super T>> boolean contains(ClosedFloatingPointRange<T> closedFloatingPointRange, T value) {
|
||||
Intrinsics.checkNotNullParameter(value, "value");
|
||||
return closedFloatingPointRange.lessThanOrEquals(closedFloatingPointRange.getStart(), value) && closedFloatingPointRange.lessThanOrEquals(value, closedFloatingPointRange.getEndInclusive());
|
||||
}
|
||||
|
||||
public static <T extends Comparable<? super T>> boolean isEmpty(ClosedFloatingPointRange<T> closedFloatingPointRange) {
|
||||
return !closedFloatingPointRange.lessThanOrEquals(closedFloatingPointRange.getStart(), closedFloatingPointRange.getEndInclusive());
|
||||
}
|
||||
}
|
||||
|
||||
@Override // kotlin.ranges.ClosedRange, kotlin.ranges.OpenEndRange
|
||||
boolean contains(T value);
|
||||
|
||||
@Override // kotlin.ranges.ClosedRange, kotlin.ranges.OpenEndRange
|
||||
boolean isEmpty();
|
||||
|
||||
boolean lessThanOrEquals(T a2, T b4);
|
||||
}
|
||||
31
apk_decompiled/sources/kotlin/ranges/ClosedRange.java
Normal file
31
apk_decompiled/sources/kotlin/ranges/ClosedRange.java
Normal file
@@ -0,0 +1,31 @@
|
||||
package kotlin.ranges;
|
||||
|
||||
import java.lang.Comparable;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@Metadata(d1 = {"\u0000\u001a\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000f\n\u0002\u0010\u0000\n\u0002\b\u0006\n\u0002\u0010\u000b\n\u0002\b\u0004\bf\u0018\u0000*\u000e\b\u0000\u0010\u0001*\b\u0012\u0004\u0012\u0002H\u00010\u00022\u00020\u0003J\u0016\u0010\t\u001a\u00020\n2\u0006\u0010\u000b\u001a\u00028\u0000H\u0096\u0002¢\u0006\u0002\u0010\fJ\b\u0010\r\u001a\u00020\nH\u0016R\u0012\u0010\u0004\u001a\u00028\u0000X¦\u0004¢\u0006\u0006\u001a\u0004\b\u0005\u0010\u0006R\u0012\u0010\u0007\u001a\u00028\u0000X¦\u0004¢\u0006\u0006\u001a\u0004\b\b\u0010\u0006¨\u0006\u000e"}, d2 = {"Lkotlin/ranges/ClosedRange;", "T", "", "", "endInclusive", "getEndInclusive", "()Ljava/lang/Comparable;", "start", "getStart", "contains", "", "value", "(Ljava/lang/Comparable;)Z", "isEmpty", "kotlin-stdlib"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes3.dex */
|
||||
public interface ClosedRange<T extends Comparable<? super T>> {
|
||||
|
||||
@Metadata(k = 3, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes3.dex */
|
||||
public static final class DefaultImpls {
|
||||
public static <T extends Comparable<? super T>> boolean contains(ClosedRange<T> closedRange, T value) {
|
||||
Intrinsics.checkNotNullParameter(value, "value");
|
||||
return value.compareTo(closedRange.getStart()) >= 0 && value.compareTo(closedRange.getEndInclusive()) <= 0;
|
||||
}
|
||||
|
||||
public static <T extends Comparable<? super T>> boolean isEmpty(ClosedRange<T> closedRange) {
|
||||
return closedRange.getStart().compareTo(closedRange.getEndInclusive()) > 0;
|
||||
}
|
||||
}
|
||||
|
||||
boolean contains(T value);
|
||||
|
||||
T getEndInclusive();
|
||||
|
||||
T getStart();
|
||||
|
||||
boolean isEmpty();
|
||||
}
|
||||
@@ -0,0 +1,62 @@
|
||||
package kotlin.ranges;
|
||||
|
||||
import java.lang.Comparable;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
import kotlin.ranges.OpenEndRange;
|
||||
|
||||
@Metadata(d1 = {"\u0000*\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000f\n\u0002\u0018\u0002\n\u0002\b\b\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000e\n\u0000\b\u0012\u0018\u0000*\u000e\b\u0000\u0010\u0001*\b\u0012\u0004\u0012\u0002H\u00010\u00022\b\u0012\u0004\u0012\u0002H\u00010\u0003B\u0015\u0012\u0006\u0010\u0004\u001a\u00028\u0000\u0012\u0006\u0010\u0005\u001a\u00028\u0000¢\u0006\u0002\u0010\u0006J\u0013\u0010\u000b\u001a\u00020\f2\b\u0010\r\u001a\u0004\u0018\u00010\u000eH\u0096\u0002J\b\u0010\u000f\u001a\u00020\u0010H\u0016J\b\u0010\u0011\u001a\u00020\u0012H\u0016R\u0016\u0010\u0005\u001a\u00028\u0000X\u0096\u0004¢\u0006\n\n\u0002\u0010\t\u001a\u0004\b\u0007\u0010\bR\u0016\u0010\u0004\u001a\u00028\u0000X\u0096\u0004¢\u0006\n\n\u0002\u0010\t\u001a\u0004\b\n\u0010\b¨\u0006\u0013"}, d2 = {"Lkotlin/ranges/ComparableOpenEndRange;", "T", "", "Lkotlin/ranges/OpenEndRange;", "start", "endExclusive", "(Ljava/lang/Comparable;Ljava/lang/Comparable;)V", "getEndExclusive", "()Ljava/lang/Comparable;", "Ljava/lang/Comparable;", "getStart", "equals", "", "other", "", "hashCode", "", "toString", "", "kotlin-stdlib"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes3.dex */
|
||||
class ComparableOpenEndRange<T extends Comparable<? super T>> implements OpenEndRange<T> {
|
||||
private final T endExclusive;
|
||||
private final T start;
|
||||
|
||||
public ComparableOpenEndRange(T start, T endExclusive) {
|
||||
Intrinsics.checkNotNullParameter(start, "start");
|
||||
Intrinsics.checkNotNullParameter(endExclusive, "endExclusive");
|
||||
this.start = start;
|
||||
this.endExclusive = endExclusive;
|
||||
}
|
||||
|
||||
@Override // kotlin.ranges.OpenEndRange
|
||||
public boolean contains(T t2) {
|
||||
return OpenEndRange.DefaultImpls.contains(this, t2);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (!(other instanceof ComparableOpenEndRange)) {
|
||||
return false;
|
||||
}
|
||||
if (isEmpty() && ((ComparableOpenEndRange) other).isEmpty()) {
|
||||
return true;
|
||||
}
|
||||
ComparableOpenEndRange comparableOpenEndRange = (ComparableOpenEndRange) other;
|
||||
return Intrinsics.areEqual(getStart(), comparableOpenEndRange.getStart()) && Intrinsics.areEqual(getEndExclusive(), comparableOpenEndRange.getEndExclusive());
|
||||
}
|
||||
|
||||
@Override // kotlin.ranges.OpenEndRange
|
||||
public T getEndExclusive() {
|
||||
return this.endExclusive;
|
||||
}
|
||||
|
||||
@Override // kotlin.ranges.OpenEndRange
|
||||
public T getStart() {
|
||||
return this.start;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
if (isEmpty()) {
|
||||
return -1;
|
||||
}
|
||||
return getEndExclusive().hashCode() + (getStart().hashCode() * 31);
|
||||
}
|
||||
|
||||
@Override // kotlin.ranges.OpenEndRange
|
||||
public boolean isEmpty() {
|
||||
return OpenEndRange.DefaultImpls.isEmpty(this);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return getStart() + "..<" + getEndExclusive();
|
||||
}
|
||||
}
|
||||
62
apk_decompiled/sources/kotlin/ranges/ComparableRange.java
Normal file
62
apk_decompiled/sources/kotlin/ranges/ComparableRange.java
Normal file
@@ -0,0 +1,62 @@
|
||||
package kotlin.ranges;
|
||||
|
||||
import java.lang.Comparable;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
import kotlin.ranges.ClosedRange;
|
||||
|
||||
@Metadata(d1 = {"\u0000*\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000f\n\u0002\u0018\u0002\n\u0002\b\b\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000e\n\u0000\b\u0012\u0018\u0000*\u000e\b\u0000\u0010\u0001*\b\u0012\u0004\u0012\u0002H\u00010\u00022\b\u0012\u0004\u0012\u0002H\u00010\u0003B\u0015\u0012\u0006\u0010\u0004\u001a\u00028\u0000\u0012\u0006\u0010\u0005\u001a\u00028\u0000¢\u0006\u0002\u0010\u0006J\u0013\u0010\u000b\u001a\u00020\f2\b\u0010\r\u001a\u0004\u0018\u00010\u000eH\u0096\u0002J\b\u0010\u000f\u001a\u00020\u0010H\u0016J\b\u0010\u0011\u001a\u00020\u0012H\u0016R\u0016\u0010\u0005\u001a\u00028\u0000X\u0096\u0004¢\u0006\n\n\u0002\u0010\t\u001a\u0004\b\u0007\u0010\bR\u0016\u0010\u0004\u001a\u00028\u0000X\u0096\u0004¢\u0006\n\n\u0002\u0010\t\u001a\u0004\b\n\u0010\b¨\u0006\u0013"}, d2 = {"Lkotlin/ranges/ComparableRange;", "T", "", "Lkotlin/ranges/ClosedRange;", "start", "endInclusive", "(Ljava/lang/Comparable;Ljava/lang/Comparable;)V", "getEndInclusive", "()Ljava/lang/Comparable;", "Ljava/lang/Comparable;", "getStart", "equals", "", "other", "", "hashCode", "", "toString", "", "kotlin-stdlib"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes3.dex */
|
||||
class ComparableRange<T extends Comparable<? super T>> implements ClosedRange<T> {
|
||||
private final T endInclusive;
|
||||
private final T start;
|
||||
|
||||
public ComparableRange(T start, T endInclusive) {
|
||||
Intrinsics.checkNotNullParameter(start, "start");
|
||||
Intrinsics.checkNotNullParameter(endInclusive, "endInclusive");
|
||||
this.start = start;
|
||||
this.endInclusive = endInclusive;
|
||||
}
|
||||
|
||||
@Override // kotlin.ranges.ClosedRange, kotlin.ranges.OpenEndRange
|
||||
public boolean contains(T t2) {
|
||||
return ClosedRange.DefaultImpls.contains(this, t2);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (!(other instanceof ComparableRange)) {
|
||||
return false;
|
||||
}
|
||||
if (isEmpty() && ((ComparableRange) other).isEmpty()) {
|
||||
return true;
|
||||
}
|
||||
ComparableRange comparableRange = (ComparableRange) other;
|
||||
return Intrinsics.areEqual(getStart(), comparableRange.getStart()) && Intrinsics.areEqual(getEndInclusive(), comparableRange.getEndInclusive());
|
||||
}
|
||||
|
||||
@Override // kotlin.ranges.ClosedRange
|
||||
public T getEndInclusive() {
|
||||
return this.endInclusive;
|
||||
}
|
||||
|
||||
@Override // kotlin.ranges.ClosedRange, kotlin.ranges.OpenEndRange
|
||||
public T getStart() {
|
||||
return this.start;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
if (isEmpty()) {
|
||||
return -1;
|
||||
}
|
||||
return getEndInclusive().hashCode() + (getStart().hashCode() * 31);
|
||||
}
|
||||
|
||||
@Override // kotlin.ranges.ClosedRange, kotlin.ranges.OpenEndRange
|
||||
public boolean isEmpty() {
|
||||
return ClosedRange.DefaultImpls.isEmpty(this);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return getStart() + ".." + getEndInclusive();
|
||||
}
|
||||
}
|
||||
106
apk_decompiled/sources/kotlin/ranges/IntProgression.java
Normal file
106
apk_decompiled/sources/kotlin/ranges/IntProgression.java
Normal file
@@ -0,0 +1,106 @@
|
||||
package kotlin.ranges;
|
||||
|
||||
import java.util.Iterator;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.internal.ProgressionUtilKt;
|
||||
import kotlin.jvm.internal.DefaultConstructorMarker;
|
||||
import kotlin.jvm.internal.markers.KMappedMarker;
|
||||
|
||||
@Metadata(d1 = {"\u0000,\n\u0002\u0018\u0002\n\u0002\u0010\u001c\n\u0002\u0010\b\n\u0002\b\u000b\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0000\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0002\b\u0016\u0018\u0000 \u00172\b\u0012\u0004\u0012\u00020\u00020\u0001:\u0001\u0017B\u001f\b\u0000\u0012\u0006\u0010\u0003\u001a\u00020\u0002\u0012\u0006\u0010\u0004\u001a\u00020\u0002\u0012\u0006\u0010\u0005\u001a\u00020\u0002¢\u0006\u0002\u0010\u0006J\u0013\u0010\r\u001a\u00020\u000e2\b\u0010\u000f\u001a\u0004\u0018\u00010\u0010H\u0096\u0002J\b\u0010\u0011\u001a\u00020\u0002H\u0016J\b\u0010\u0012\u001a\u00020\u000eH\u0016J\t\u0010\u0013\u001a\u00020\u0014H\u0096\u0002J\b\u0010\u0015\u001a\u00020\u0016H\u0016R\u0011\u0010\u0007\u001a\u00020\u0002¢\u0006\b\n\u0000\u001a\u0004\b\b\u0010\tR\u0011\u0010\n\u001a\u00020\u0002¢\u0006\b\n\u0000\u001a\u0004\b\u000b\u0010\tR\u0011\u0010\u0005\u001a\u00020\u0002¢\u0006\b\n\u0000\u001a\u0004\b\f\u0010\t¨\u0006\u0018"}, d2 = {"Lkotlin/ranges/IntProgression;", "", "", "start", "endInclusive", "step", "(III)V", "first", "getFirst", "()I", "last", "getLast", "getStep", "equals", "", "other", "", "hashCode", "isEmpty", "iterator", "Lkotlin/collections/IntIterator;", "toString", "", "Companion", "kotlin-stdlib"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes3.dex */
|
||||
public class IntProgression implements Iterable<Integer>, KMappedMarker {
|
||||
|
||||
/* renamed from: Companion, reason: from kotlin metadata */
|
||||
public static final Companion INSTANCE = new Companion(null);
|
||||
private final int first;
|
||||
private final int last;
|
||||
private final int step;
|
||||
|
||||
@Metadata(d1 = {"\u0000\u001a\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\b\n\u0002\b\u0003\b\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002J\u001e\u0010\u0003\u001a\u00020\u00042\u0006\u0010\u0005\u001a\u00020\u00062\u0006\u0010\u0007\u001a\u00020\u00062\u0006\u0010\b\u001a\u00020\u0006¨\u0006\t"}, d2 = {"Lkotlin/ranges/IntProgression$Companion;", "", "()V", "fromClosedRange", "Lkotlin/ranges/IntProgression;", "rangeStart", "", "rangeEnd", "step", "kotlin-stdlib"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes3.dex */
|
||||
public static final class Companion {
|
||||
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
|
||||
this();
|
||||
}
|
||||
|
||||
public final IntProgression fromClosedRange(int rangeStart, int rangeEnd, int step) {
|
||||
return new IntProgression(rangeStart, rangeEnd, step);
|
||||
}
|
||||
|
||||
private Companion() {
|
||||
}
|
||||
}
|
||||
|
||||
public IntProgression(int i, int i4, int i5) {
|
||||
if (i5 == 0) {
|
||||
throw new IllegalArgumentException("Step must be non-zero.");
|
||||
}
|
||||
if (i5 == Integer.MIN_VALUE) {
|
||||
throw new IllegalArgumentException("Step must be greater than Int.MIN_VALUE to avoid overflow on negation.");
|
||||
}
|
||||
this.first = i;
|
||||
this.last = ProgressionUtilKt.getProgressionLastElement(i, i4, i5);
|
||||
this.step = i5;
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (!(other instanceof IntProgression)) {
|
||||
return false;
|
||||
}
|
||||
if (isEmpty() && ((IntProgression) other).isEmpty()) {
|
||||
return true;
|
||||
}
|
||||
IntProgression intProgression = (IntProgression) other;
|
||||
return this.first == intProgression.first && this.last == intProgression.last && this.step == intProgression.step;
|
||||
}
|
||||
|
||||
public final int getFirst() {
|
||||
return this.first;
|
||||
}
|
||||
|
||||
public final int getLast() {
|
||||
return this.last;
|
||||
}
|
||||
|
||||
public final int getStep() {
|
||||
return this.step;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
if (isEmpty()) {
|
||||
return -1;
|
||||
}
|
||||
return (((this.first * 31) + this.last) * 31) + this.step;
|
||||
}
|
||||
|
||||
public boolean isEmpty() {
|
||||
return this.step > 0 ? this.first > this.last : this.first < this.last;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder sb;
|
||||
int i;
|
||||
if (this.step > 0) {
|
||||
sb = new StringBuilder();
|
||||
sb.append(this.first);
|
||||
sb.append("..");
|
||||
sb.append(this.last);
|
||||
sb.append(" step ");
|
||||
i = this.step;
|
||||
} else {
|
||||
sb = new StringBuilder();
|
||||
sb.append(this.first);
|
||||
sb.append(" downTo ");
|
||||
sb.append(this.last);
|
||||
sb.append(" step ");
|
||||
i = -this.step;
|
||||
}
|
||||
sb.append(i);
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
@Override // java.lang.Iterable
|
||||
public Iterator<Integer> iterator() {
|
||||
return new IntProgressionIterator(this.first, this.last, this.step);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
package kotlin.ranges;
|
||||
|
||||
import java.util.NoSuchElementException;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.collections.IntIterator;
|
||||
|
||||
@Metadata(d1 = {"\u0000\u001a\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\b\n\u0002\b\u0005\n\u0002\u0010\u000b\n\u0002\b\u0005\b\u0000\u0018\u00002\u00020\u0001B\u001d\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0003\u0012\u0006\u0010\u0005\u001a\u00020\u0003¢\u0006\u0002\u0010\u0006J\t\u0010\b\u001a\u00020\tH\u0096\u0002J\b\u0010\r\u001a\u00020\u0003H\u0016R\u000e\u0010\u0007\u001a\u00020\u0003X\u0082\u0004¢\u0006\u0002\n\u0000R\u000e\u0010\b\u001a\u00020\tX\u0082\u000e¢\u0006\u0002\n\u0000R\u000e\u0010\n\u001a\u00020\u0003X\u0082\u000e¢\u0006\u0002\n\u0000R\u0011\u0010\u0005\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u000b\u0010\f¨\u0006\u000e"}, d2 = {"Lkotlin/ranges/IntProgressionIterator;", "Lkotlin/collections/IntIterator;", "first", "", "last", "step", "(III)V", "finalElement", "hasNext", "", "next", "getStep", "()I", "nextInt", "kotlin-stdlib"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes3.dex */
|
||||
public final class IntProgressionIterator extends IntIterator {
|
||||
private final int finalElement;
|
||||
private boolean hasNext;
|
||||
private int next;
|
||||
private final int step;
|
||||
|
||||
public IntProgressionIterator(int i, int i4, int i5) {
|
||||
this.step = i5;
|
||||
this.finalElement = i4;
|
||||
boolean z3 = false;
|
||||
if (i5 <= 0 ? i >= i4 : i <= i4) {
|
||||
z3 = true;
|
||||
}
|
||||
this.hasNext = z3;
|
||||
this.next = z3 ? i : i4;
|
||||
}
|
||||
|
||||
public final int getStep() {
|
||||
return this.step;
|
||||
}
|
||||
|
||||
@Override // java.util.Iterator
|
||||
public boolean hasNext() {
|
||||
return this.hasNext;
|
||||
}
|
||||
|
||||
@Override // kotlin.collections.IntIterator
|
||||
public int nextInt() {
|
||||
int i = this.next;
|
||||
if (i != this.finalElement) {
|
||||
this.next = this.step + i;
|
||||
return i;
|
||||
}
|
||||
if (!this.hasNext) {
|
||||
throw new NoSuchElementException();
|
||||
}
|
||||
this.hasNext = false;
|
||||
return i;
|
||||
}
|
||||
}
|
||||
100
apk_decompiled/sources/kotlin/ranges/IntRange.java
Normal file
100
apk_decompiled/sources/kotlin/ranges/IntRange.java
Normal file
@@ -0,0 +1,100 @@
|
||||
package kotlin.ranges;
|
||||
|
||||
import kotlin.Deprecated;
|
||||
import kotlin.ExperimentalStdlibApi;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.SinceKotlin;
|
||||
import kotlin.WasExperimental;
|
||||
import kotlin.jvm.internal.DefaultConstructorMarker;
|
||||
|
||||
@Metadata(d1 = {"\u00000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\b\n\u0002\u0018\u0002\n\u0002\b\u000b\n\u0002\u0010\u000b\n\u0002\b\u0003\n\u0002\u0010\u0000\n\u0002\b\u0003\n\u0002\u0010\u000e\n\u0002\b\u0002\u0018\u0000 \u00192\u00020\u00012\b\u0012\u0004\u0012\u00020\u00030\u00022\b\u0012\u0004\u0012\u00020\u00030\u0004:\u0001\u0019B\u0015\u0012\u0006\u0010\u0005\u001a\u00020\u0003\u0012\u0006\u0010\u0006\u001a\u00020\u0003¢\u0006\u0002\u0010\u0007J\u0011\u0010\u000f\u001a\u00020\u00102\u0006\u0010\u0011\u001a\u00020\u0003H\u0096\u0002J\u0013\u0010\u0012\u001a\u00020\u00102\b\u0010\u0013\u001a\u0004\u0018\u00010\u0014H\u0096\u0002J\b\u0010\u0015\u001a\u00020\u0003H\u0016J\b\u0010\u0016\u001a\u00020\u0010H\u0016J\b\u0010\u0017\u001a\u00020\u0018H\u0016R\u001a\u0010\b\u001a\u00020\u00038VX\u0097\u0004¢\u0006\f\u0012\u0004\b\t\u0010\n\u001a\u0004\b\u000b\u0010\fR\u0014\u0010\u0006\u001a\u00020\u00038VX\u0096\u0004¢\u0006\u0006\u001a\u0004\b\r\u0010\fR\u0014\u0010\u0005\u001a\u00020\u00038VX\u0096\u0004¢\u0006\u0006\u001a\u0004\b\u000e\u0010\f¨\u0006\u001a"}, d2 = {"Lkotlin/ranges/IntRange;", "Lkotlin/ranges/IntProgression;", "Lkotlin/ranges/ClosedRange;", "", "Lkotlin/ranges/OpenEndRange;", "start", "endInclusive", "(II)V", "endExclusive", "getEndExclusive$annotations", "()V", "getEndExclusive", "()Ljava/lang/Integer;", "getEndInclusive", "getStart", "contains", "", "value", "equals", "other", "", "hashCode", "isEmpty", "toString", "", "Companion", "kotlin-stdlib"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes3.dex */
|
||||
public final class IntRange extends IntProgression implements ClosedRange<Integer>, OpenEndRange<Integer> {
|
||||
|
||||
/* renamed from: Companion, reason: from kotlin metadata */
|
||||
public static final Companion INSTANCE = new Companion(null);
|
||||
private static final IntRange EMPTY = new IntRange(1, 0);
|
||||
|
||||
@Metadata(d1 = {"\u0000\u0014\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\b\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002R\u0011\u0010\u0003\u001a\u00020\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0005\u0010\u0006¨\u0006\u0007"}, d2 = {"Lkotlin/ranges/IntRange$Companion;", "", "()V", "EMPTY", "Lkotlin/ranges/IntRange;", "getEMPTY", "()Lkotlin/ranges/IntRange;", "kotlin-stdlib"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes3.dex */
|
||||
public static final class Companion {
|
||||
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
|
||||
this();
|
||||
}
|
||||
|
||||
public final IntRange getEMPTY() {
|
||||
return IntRange.EMPTY;
|
||||
}
|
||||
|
||||
private Companion() {
|
||||
}
|
||||
}
|
||||
|
||||
public IntRange(int i, int i4) {
|
||||
super(i, i4, 1);
|
||||
}
|
||||
|
||||
@Deprecated(message = "Can throw an exception when it's impossible to represent the value with Int type, for example, when the range includes MAX_VALUE. It's recommended to use 'endInclusive' property that doesn't throw.")
|
||||
@SinceKotlin(version = "1.9")
|
||||
@WasExperimental(markerClass = {ExperimentalStdlibApi.class})
|
||||
public static /* synthetic */ void getEndExclusive$annotations() {
|
||||
}
|
||||
|
||||
/* JADX WARN: Multi-variable type inference failed */
|
||||
@Override // kotlin.ranges.ClosedRange, kotlin.ranges.OpenEndRange
|
||||
public /* bridge */ /* synthetic */ boolean contains(Comparable comparable) {
|
||||
return contains(((Number) comparable).intValue());
|
||||
}
|
||||
|
||||
@Override // kotlin.ranges.IntProgression
|
||||
public boolean equals(Object other) {
|
||||
if (!(other instanceof IntRange)) {
|
||||
return false;
|
||||
}
|
||||
if (isEmpty() && ((IntRange) other).isEmpty()) {
|
||||
return true;
|
||||
}
|
||||
IntRange intRange = (IntRange) other;
|
||||
return getFirst() == intRange.getFirst() && getLast() == intRange.getLast();
|
||||
}
|
||||
|
||||
@Override // kotlin.ranges.IntProgression
|
||||
public int hashCode() {
|
||||
if (isEmpty()) {
|
||||
return -1;
|
||||
}
|
||||
return getLast() + (getFirst() * 31);
|
||||
}
|
||||
|
||||
@Override // kotlin.ranges.IntProgression, kotlin.ranges.ClosedRange, kotlin.ranges.OpenEndRange
|
||||
public boolean isEmpty() {
|
||||
return getFirst() > getLast();
|
||||
}
|
||||
|
||||
@Override // kotlin.ranges.IntProgression
|
||||
public String toString() {
|
||||
return getFirst() + ".." + getLast();
|
||||
}
|
||||
|
||||
public boolean contains(int value) {
|
||||
return getFirst() <= value && value <= getLast();
|
||||
}
|
||||
|
||||
@Override // kotlin.ranges.OpenEndRange
|
||||
public Integer getEndExclusive() {
|
||||
if (getLast() != Integer.MAX_VALUE) {
|
||||
return Integer.valueOf(getLast() + 1);
|
||||
}
|
||||
throw new IllegalStateException("Cannot return the exclusive upper bound of a range that includes MAX_VALUE.");
|
||||
}
|
||||
|
||||
@Override // kotlin.ranges.ClosedRange
|
||||
public Integer getEndInclusive() {
|
||||
return Integer.valueOf(getLast());
|
||||
}
|
||||
|
||||
@Override // kotlin.ranges.ClosedRange, kotlin.ranges.OpenEndRange
|
||||
public Integer getStart() {
|
||||
return Integer.valueOf(getFirst());
|
||||
}
|
||||
}
|
||||
114
apk_decompiled/sources/kotlin/ranges/LongProgression.java
Normal file
114
apk_decompiled/sources/kotlin/ranges/LongProgression.java
Normal file
@@ -0,0 +1,114 @@
|
||||
package kotlin.ranges;
|
||||
|
||||
import java.util.Iterator;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.internal.ProgressionUtilKt;
|
||||
import kotlin.jvm.internal.DefaultConstructorMarker;
|
||||
import kotlin.jvm.internal.markers.KMappedMarker;
|
||||
|
||||
@Metadata(d1 = {"\u00002\n\u0002\u0018\u0002\n\u0002\u0010\u001c\n\u0002\u0010\t\n\u0002\b\u000b\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0002\b\u0016\u0018\u0000 \u00182\b\u0012\u0004\u0012\u00020\u00020\u0001:\u0001\u0018B\u001f\b\u0000\u0012\u0006\u0010\u0003\u001a\u00020\u0002\u0012\u0006\u0010\u0004\u001a\u00020\u0002\u0012\u0006\u0010\u0005\u001a\u00020\u0002¢\u0006\u0002\u0010\u0006J\u0013\u0010\r\u001a\u00020\u000e2\b\u0010\u000f\u001a\u0004\u0018\u00010\u0010H\u0096\u0002J\b\u0010\u0011\u001a\u00020\u0012H\u0016J\b\u0010\u0013\u001a\u00020\u000eH\u0016J\t\u0010\u0014\u001a\u00020\u0015H\u0096\u0002J\b\u0010\u0016\u001a\u00020\u0017H\u0016R\u0011\u0010\u0007\u001a\u00020\u0002¢\u0006\b\n\u0000\u001a\u0004\b\b\u0010\tR\u0011\u0010\n\u001a\u00020\u0002¢\u0006\b\n\u0000\u001a\u0004\b\u000b\u0010\tR\u0011\u0010\u0005\u001a\u00020\u0002¢\u0006\b\n\u0000\u001a\u0004\b\f\u0010\t¨\u0006\u0019"}, d2 = {"Lkotlin/ranges/LongProgression;", "", "", "start", "endInclusive", "step", "(JJJ)V", "first", "getFirst", "()J", "last", "getLast", "getStep", "equals", "", "other", "", "hashCode", "", "isEmpty", "iterator", "Lkotlin/collections/LongIterator;", "toString", "", "Companion", "kotlin-stdlib"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes3.dex */
|
||||
public class LongProgression implements Iterable<Long>, KMappedMarker {
|
||||
|
||||
/* renamed from: Companion, reason: from kotlin metadata */
|
||||
public static final Companion INSTANCE = new Companion(null);
|
||||
private final long first;
|
||||
private final long last;
|
||||
private final long step;
|
||||
|
||||
@Metadata(d1 = {"\u0000\u001a\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\t\n\u0002\b\u0003\b\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002J\u001e\u0010\u0003\u001a\u00020\u00042\u0006\u0010\u0005\u001a\u00020\u00062\u0006\u0010\u0007\u001a\u00020\u00062\u0006\u0010\b\u001a\u00020\u0006¨\u0006\t"}, d2 = {"Lkotlin/ranges/LongProgression$Companion;", "", "()V", "fromClosedRange", "Lkotlin/ranges/LongProgression;", "rangeStart", "", "rangeEnd", "step", "kotlin-stdlib"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes3.dex */
|
||||
public static final class Companion {
|
||||
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
|
||||
this();
|
||||
}
|
||||
|
||||
public final LongProgression fromClosedRange(long rangeStart, long rangeEnd, long step) {
|
||||
return new LongProgression(rangeStart, rangeEnd, step);
|
||||
}
|
||||
|
||||
private Companion() {
|
||||
}
|
||||
}
|
||||
|
||||
public LongProgression(long j4, long j5, long j6) {
|
||||
if (j6 == 0) {
|
||||
throw new IllegalArgumentException("Step must be non-zero.");
|
||||
}
|
||||
if (j6 == Long.MIN_VALUE) {
|
||||
throw new IllegalArgumentException("Step must be greater than Long.MIN_VALUE to avoid overflow on negation.");
|
||||
}
|
||||
this.first = j4;
|
||||
this.last = ProgressionUtilKt.getProgressionLastElement(j4, j5, j6);
|
||||
this.step = j6;
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (!(other instanceof LongProgression)) {
|
||||
return false;
|
||||
}
|
||||
if (isEmpty() && ((LongProgression) other).isEmpty()) {
|
||||
return true;
|
||||
}
|
||||
LongProgression longProgression = (LongProgression) other;
|
||||
return this.first == longProgression.first && this.last == longProgression.last && this.step == longProgression.step;
|
||||
}
|
||||
|
||||
public final long getFirst() {
|
||||
return this.first;
|
||||
}
|
||||
|
||||
public final long getLast() {
|
||||
return this.last;
|
||||
}
|
||||
|
||||
public final long getStep() {
|
||||
return this.step;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
if (isEmpty()) {
|
||||
return -1;
|
||||
}
|
||||
long j4 = 31;
|
||||
long j5 = this.first;
|
||||
long j6 = this.last;
|
||||
long j7 = (((j5 ^ (j5 >>> 32)) * j4) + (j6 ^ (j6 >>> 32))) * j4;
|
||||
long j8 = this.step;
|
||||
return (int) (j7 + (j8 ^ (j8 >>> 32)));
|
||||
}
|
||||
|
||||
public boolean isEmpty() {
|
||||
long j4 = this.step;
|
||||
long j5 = this.first;
|
||||
long j6 = this.last;
|
||||
return j4 > 0 ? j5 > j6 : j5 < j6;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder sb;
|
||||
long j4;
|
||||
if (this.step > 0) {
|
||||
sb = new StringBuilder();
|
||||
sb.append(this.first);
|
||||
sb.append("..");
|
||||
sb.append(this.last);
|
||||
sb.append(" step ");
|
||||
j4 = this.step;
|
||||
} else {
|
||||
sb = new StringBuilder();
|
||||
sb.append(this.first);
|
||||
sb.append(" downTo ");
|
||||
sb.append(this.last);
|
||||
sb.append(" step ");
|
||||
j4 = -this.step;
|
||||
}
|
||||
sb.append(j4);
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
@Override // java.lang.Iterable
|
||||
public Iterator<Long> iterator() {
|
||||
return new LongProgressionIterator(this.first, this.last, this.step);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
package kotlin.ranges;
|
||||
|
||||
import java.util.NoSuchElementException;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.collections.LongIterator;
|
||||
|
||||
@Metadata(d1 = {"\u0000\u001a\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\t\n\u0002\b\u0005\n\u0002\u0010\u000b\n\u0002\b\u0005\b\u0000\u0018\u00002\u00020\u0001B\u001d\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0003\u0012\u0006\u0010\u0005\u001a\u00020\u0003¢\u0006\u0002\u0010\u0006J\t\u0010\b\u001a\u00020\tH\u0096\u0002J\b\u0010\r\u001a\u00020\u0003H\u0016R\u000e\u0010\u0007\u001a\u00020\u0003X\u0082\u0004¢\u0006\u0002\n\u0000R\u000e\u0010\b\u001a\u00020\tX\u0082\u000e¢\u0006\u0002\n\u0000R\u000e\u0010\n\u001a\u00020\u0003X\u0082\u000e¢\u0006\u0002\n\u0000R\u0011\u0010\u0005\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u000b\u0010\f¨\u0006\u000e"}, d2 = {"Lkotlin/ranges/LongProgressionIterator;", "Lkotlin/collections/LongIterator;", "first", "", "last", "step", "(JJJ)V", "finalElement", "hasNext", "", "next", "getStep", "()J", "nextLong", "kotlin-stdlib"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes3.dex */
|
||||
public final class LongProgressionIterator extends LongIterator {
|
||||
private final long finalElement;
|
||||
private boolean hasNext;
|
||||
private long next;
|
||||
private final long step;
|
||||
|
||||
public LongProgressionIterator(long j4, long j5, long j6) {
|
||||
this.step = j6;
|
||||
this.finalElement = j5;
|
||||
boolean z3 = false;
|
||||
if (j6 <= 0 ? j4 >= j5 : j4 <= j5) {
|
||||
z3 = true;
|
||||
}
|
||||
this.hasNext = z3;
|
||||
this.next = z3 ? j4 : j5;
|
||||
}
|
||||
|
||||
public final long getStep() {
|
||||
return this.step;
|
||||
}
|
||||
|
||||
@Override // java.util.Iterator
|
||||
public boolean hasNext() {
|
||||
return this.hasNext;
|
||||
}
|
||||
|
||||
@Override // kotlin.collections.LongIterator
|
||||
public long nextLong() {
|
||||
long j4 = this.next;
|
||||
if (j4 != this.finalElement) {
|
||||
this.next = this.step + j4;
|
||||
return j4;
|
||||
}
|
||||
if (!this.hasNext) {
|
||||
throw new NoSuchElementException();
|
||||
}
|
||||
this.hasNext = false;
|
||||
return j4;
|
||||
}
|
||||
}
|
||||
101
apk_decompiled/sources/kotlin/ranges/LongRange.java
Normal file
101
apk_decompiled/sources/kotlin/ranges/LongRange.java
Normal file
@@ -0,0 +1,101 @@
|
||||
package kotlin.ranges;
|
||||
|
||||
import kotlin.Deprecated;
|
||||
import kotlin.ExperimentalStdlibApi;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.SinceKotlin;
|
||||
import kotlin.WasExperimental;
|
||||
import kotlin.jvm.internal.DefaultConstructorMarker;
|
||||
import kotlin.jvm.internal.LongCompanionObject;
|
||||
|
||||
@Metadata(d1 = {"\u00006\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\t\n\u0002\u0018\u0002\n\u0002\b\u000b\n\u0002\u0010\u000b\n\u0002\b\u0003\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0002\b\u0002\u0018\u0000 \u001a2\u00020\u00012\b\u0012\u0004\u0012\u00020\u00030\u00022\b\u0012\u0004\u0012\u00020\u00030\u0004:\u0001\u001aB\u0015\u0012\u0006\u0010\u0005\u001a\u00020\u0003\u0012\u0006\u0010\u0006\u001a\u00020\u0003¢\u0006\u0002\u0010\u0007J\u0011\u0010\u000f\u001a\u00020\u00102\u0006\u0010\u0011\u001a\u00020\u0003H\u0096\u0002J\u0013\u0010\u0012\u001a\u00020\u00102\b\u0010\u0013\u001a\u0004\u0018\u00010\u0014H\u0096\u0002J\b\u0010\u0015\u001a\u00020\u0016H\u0016J\b\u0010\u0017\u001a\u00020\u0010H\u0016J\b\u0010\u0018\u001a\u00020\u0019H\u0016R\u001a\u0010\b\u001a\u00020\u00038VX\u0097\u0004¢\u0006\f\u0012\u0004\b\t\u0010\n\u001a\u0004\b\u000b\u0010\fR\u0014\u0010\u0006\u001a\u00020\u00038VX\u0096\u0004¢\u0006\u0006\u001a\u0004\b\r\u0010\fR\u0014\u0010\u0005\u001a\u00020\u00038VX\u0096\u0004¢\u0006\u0006\u001a\u0004\b\u000e\u0010\f¨\u0006\u001b"}, d2 = {"Lkotlin/ranges/LongRange;", "Lkotlin/ranges/LongProgression;", "Lkotlin/ranges/ClosedRange;", "", "Lkotlin/ranges/OpenEndRange;", "start", "endInclusive", "(JJ)V", "endExclusive", "getEndExclusive$annotations", "()V", "getEndExclusive", "()Ljava/lang/Long;", "getEndInclusive", "getStart", "contains", "", "value", "equals", "other", "", "hashCode", "", "isEmpty", "toString", "", "Companion", "kotlin-stdlib"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes3.dex */
|
||||
public final class LongRange extends LongProgression implements ClosedRange<Long>, OpenEndRange<Long> {
|
||||
|
||||
/* renamed from: Companion, reason: from kotlin metadata */
|
||||
public static final Companion INSTANCE = new Companion(null);
|
||||
private static final LongRange EMPTY = new LongRange(1, 0);
|
||||
|
||||
@Metadata(d1 = {"\u0000\u0014\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\b\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002R\u0011\u0010\u0003\u001a\u00020\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0005\u0010\u0006¨\u0006\u0007"}, d2 = {"Lkotlin/ranges/LongRange$Companion;", "", "()V", "EMPTY", "Lkotlin/ranges/LongRange;", "getEMPTY", "()Lkotlin/ranges/LongRange;", "kotlin-stdlib"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes3.dex */
|
||||
public static final class Companion {
|
||||
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
|
||||
this();
|
||||
}
|
||||
|
||||
public final LongRange getEMPTY() {
|
||||
return LongRange.EMPTY;
|
||||
}
|
||||
|
||||
private Companion() {
|
||||
}
|
||||
}
|
||||
|
||||
public LongRange(long j4, long j5) {
|
||||
super(j4, j5, 1L);
|
||||
}
|
||||
|
||||
@Deprecated(message = "Can throw an exception when it's impossible to represent the value with Long type, for example, when the range includes MAX_VALUE. It's recommended to use 'endInclusive' property that doesn't throw.")
|
||||
@SinceKotlin(version = "1.9")
|
||||
@WasExperimental(markerClass = {ExperimentalStdlibApi.class})
|
||||
public static /* synthetic */ void getEndExclusive$annotations() {
|
||||
}
|
||||
|
||||
/* JADX WARN: Multi-variable type inference failed */
|
||||
@Override // kotlin.ranges.ClosedRange, kotlin.ranges.OpenEndRange
|
||||
public /* bridge */ /* synthetic */ boolean contains(Comparable comparable) {
|
||||
return contains(((Number) comparable).longValue());
|
||||
}
|
||||
|
||||
@Override // kotlin.ranges.LongProgression
|
||||
public boolean equals(Object other) {
|
||||
if (!(other instanceof LongRange)) {
|
||||
return false;
|
||||
}
|
||||
if (isEmpty() && ((LongRange) other).isEmpty()) {
|
||||
return true;
|
||||
}
|
||||
LongRange longRange = (LongRange) other;
|
||||
return getFirst() == longRange.getFirst() && getLast() == longRange.getLast();
|
||||
}
|
||||
|
||||
@Override // kotlin.ranges.LongProgression
|
||||
public int hashCode() {
|
||||
if (isEmpty()) {
|
||||
return -1;
|
||||
}
|
||||
return (int) ((31 * (getFirst() ^ (getFirst() >>> 32))) + (getLast() ^ (getLast() >>> 32)));
|
||||
}
|
||||
|
||||
@Override // kotlin.ranges.LongProgression, kotlin.ranges.ClosedRange, kotlin.ranges.OpenEndRange
|
||||
public boolean isEmpty() {
|
||||
return getFirst() > getLast();
|
||||
}
|
||||
|
||||
@Override // kotlin.ranges.LongProgression
|
||||
public String toString() {
|
||||
return getFirst() + ".." + getLast();
|
||||
}
|
||||
|
||||
public boolean contains(long value) {
|
||||
return getFirst() <= value && value <= getLast();
|
||||
}
|
||||
|
||||
@Override // kotlin.ranges.OpenEndRange
|
||||
public Long getEndExclusive() {
|
||||
if (getLast() != LongCompanionObject.MAX_VALUE) {
|
||||
return Long.valueOf(getLast() + 1);
|
||||
}
|
||||
throw new IllegalStateException("Cannot return the exclusive upper bound of a range that includes MAX_VALUE.");
|
||||
}
|
||||
|
||||
@Override // kotlin.ranges.ClosedRange
|
||||
public Long getEndInclusive() {
|
||||
return Long.valueOf(getLast());
|
||||
}
|
||||
|
||||
@Override // kotlin.ranges.ClosedRange, kotlin.ranges.OpenEndRange
|
||||
public Long getStart() {
|
||||
return Long.valueOf(getFirst());
|
||||
}
|
||||
}
|
||||
66
apk_decompiled/sources/kotlin/ranges/OpenEndDoubleRange.java
Normal file
66
apk_decompiled/sources/kotlin/ranges/OpenEndDoubleRange.java
Normal file
@@ -0,0 +1,66 @@
|
||||
package kotlin.ranges;
|
||||
|
||||
import kotlin.Metadata;
|
||||
|
||||
@Metadata(d1 = {"\u0000,\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u0006\n\u0002\b\t\n\u0002\u0010\u000b\n\u0002\b\u0003\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0002\b\u0005\n\u0002\u0010\u000e\n\u0000\b\u0002\u0018\u00002\b\u0012\u0004\u0012\u00020\u00020\u0001B\u0015\u0012\u0006\u0010\u0003\u001a\u00020\u0002\u0012\u0006\u0010\u0004\u001a\u00020\u0002¢\u0006\u0002\u0010\u0005J\u0011\u0010\u000b\u001a\u00020\f2\u0006\u0010\r\u001a\u00020\u0002H\u0096\u0002J\u0013\u0010\u000e\u001a\u00020\f2\b\u0010\u000f\u001a\u0004\u0018\u00010\u0010H\u0096\u0002J\b\u0010\u0011\u001a\u00020\u0012H\u0016J\b\u0010\u0013\u001a\u00020\fH\u0016J\u0018\u0010\u0014\u001a\u00020\f2\u0006\u0010\u0015\u001a\u00020\u00022\u0006\u0010\u0016\u001a\u00020\u0002H\u0002J\b\u0010\u0017\u001a\u00020\u0018H\u0016R\u000e\u0010\u0006\u001a\u00020\u0002X\u0082\u0004¢\u0006\u0002\n\u0000R\u000e\u0010\u0007\u001a\u00020\u0002X\u0082\u0004¢\u0006\u0002\n\u0000R\u0014\u0010\u0004\u001a\u00020\u00028VX\u0096\u0004¢\u0006\u0006\u001a\u0004\b\b\u0010\tR\u0014\u0010\u0003\u001a\u00020\u00028VX\u0096\u0004¢\u0006\u0006\u001a\u0004\b\n\u0010\t¨\u0006\u0019"}, d2 = {"Lkotlin/ranges/OpenEndDoubleRange;", "Lkotlin/ranges/OpenEndRange;", "", "start", "endExclusive", "(DD)V", "_endExclusive", "_start", "getEndExclusive", "()Ljava/lang/Double;", "getStart", "contains", "", "value", "equals", "other", "", "hashCode", "", "isEmpty", "lessThanOrEquals", "a", "b", "toString", "", "kotlin-stdlib"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes3.dex */
|
||||
final class OpenEndDoubleRange implements OpenEndRange<Double> {
|
||||
private final double _endExclusive;
|
||||
private final double _start;
|
||||
|
||||
public OpenEndDoubleRange(double d4, double d5) {
|
||||
this._start = d4;
|
||||
this._endExclusive = d5;
|
||||
}
|
||||
|
||||
private final boolean lessThanOrEquals(double a2, double b4) {
|
||||
return a2 <= b4;
|
||||
}
|
||||
|
||||
/* JADX WARN: Multi-variable type inference failed */
|
||||
@Override // kotlin.ranges.OpenEndRange
|
||||
public /* bridge */ /* synthetic */ boolean contains(Comparable comparable) {
|
||||
return contains(((Number) comparable).doubleValue());
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (!(other instanceof OpenEndDoubleRange)) {
|
||||
return false;
|
||||
}
|
||||
if (isEmpty() && ((OpenEndDoubleRange) other).isEmpty()) {
|
||||
return true;
|
||||
}
|
||||
OpenEndDoubleRange openEndDoubleRange = (OpenEndDoubleRange) other;
|
||||
return this._start == openEndDoubleRange._start && this._endExclusive == openEndDoubleRange._endExclusive;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
if (isEmpty()) {
|
||||
return -1;
|
||||
}
|
||||
return Double.hashCode(this._endExclusive) + (Double.hashCode(this._start) * 31);
|
||||
}
|
||||
|
||||
@Override // kotlin.ranges.OpenEndRange
|
||||
public boolean isEmpty() {
|
||||
return this._start >= this._endExclusive;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return this._start + "..<" + this._endExclusive;
|
||||
}
|
||||
|
||||
public boolean contains(double value) {
|
||||
return value >= this._start && value < this._endExclusive;
|
||||
}
|
||||
|
||||
@Override // kotlin.ranges.OpenEndRange
|
||||
public Double getEndExclusive() {
|
||||
return Double.valueOf(this._endExclusive);
|
||||
}
|
||||
|
||||
@Override // kotlin.ranges.OpenEndRange
|
||||
public Double getStart() {
|
||||
return Double.valueOf(this._start);
|
||||
}
|
||||
}
|
||||
66
apk_decompiled/sources/kotlin/ranges/OpenEndFloatRange.java
Normal file
66
apk_decompiled/sources/kotlin/ranges/OpenEndFloatRange.java
Normal file
@@ -0,0 +1,66 @@
|
||||
package kotlin.ranges;
|
||||
|
||||
import kotlin.Metadata;
|
||||
|
||||
@Metadata(d1 = {"\u0000,\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u0007\n\u0002\b\t\n\u0002\u0010\u000b\n\u0002\b\u0003\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0002\b\u0005\n\u0002\u0010\u000e\n\u0000\b\u0002\u0018\u00002\b\u0012\u0004\u0012\u00020\u00020\u0001B\u0015\u0012\u0006\u0010\u0003\u001a\u00020\u0002\u0012\u0006\u0010\u0004\u001a\u00020\u0002¢\u0006\u0002\u0010\u0005J\u0011\u0010\u000b\u001a\u00020\f2\u0006\u0010\r\u001a\u00020\u0002H\u0096\u0002J\u0013\u0010\u000e\u001a\u00020\f2\b\u0010\u000f\u001a\u0004\u0018\u00010\u0010H\u0096\u0002J\b\u0010\u0011\u001a\u00020\u0012H\u0016J\b\u0010\u0013\u001a\u00020\fH\u0016J\u0018\u0010\u0014\u001a\u00020\f2\u0006\u0010\u0015\u001a\u00020\u00022\u0006\u0010\u0016\u001a\u00020\u0002H\u0002J\b\u0010\u0017\u001a\u00020\u0018H\u0016R\u000e\u0010\u0006\u001a\u00020\u0002X\u0082\u0004¢\u0006\u0002\n\u0000R\u000e\u0010\u0007\u001a\u00020\u0002X\u0082\u0004¢\u0006\u0002\n\u0000R\u0014\u0010\u0004\u001a\u00020\u00028VX\u0096\u0004¢\u0006\u0006\u001a\u0004\b\b\u0010\tR\u0014\u0010\u0003\u001a\u00020\u00028VX\u0096\u0004¢\u0006\u0006\u001a\u0004\b\n\u0010\t¨\u0006\u0019"}, d2 = {"Lkotlin/ranges/OpenEndFloatRange;", "Lkotlin/ranges/OpenEndRange;", "", "start", "endExclusive", "(FF)V", "_endExclusive", "_start", "getEndExclusive", "()Ljava/lang/Float;", "getStart", "contains", "", "value", "equals", "other", "", "hashCode", "", "isEmpty", "lessThanOrEquals", "a", "b", "toString", "", "kotlin-stdlib"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes3.dex */
|
||||
final class OpenEndFloatRange implements OpenEndRange<Float> {
|
||||
private final float _endExclusive;
|
||||
private final float _start;
|
||||
|
||||
public OpenEndFloatRange(float f2, float f4) {
|
||||
this._start = f2;
|
||||
this._endExclusive = f4;
|
||||
}
|
||||
|
||||
private final boolean lessThanOrEquals(float a2, float b4) {
|
||||
return a2 <= b4;
|
||||
}
|
||||
|
||||
/* JADX WARN: Multi-variable type inference failed */
|
||||
@Override // kotlin.ranges.OpenEndRange
|
||||
public /* bridge */ /* synthetic */ boolean contains(Comparable comparable) {
|
||||
return contains(((Number) comparable).floatValue());
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (!(other instanceof OpenEndFloatRange)) {
|
||||
return false;
|
||||
}
|
||||
if (isEmpty() && ((OpenEndFloatRange) other).isEmpty()) {
|
||||
return true;
|
||||
}
|
||||
OpenEndFloatRange openEndFloatRange = (OpenEndFloatRange) other;
|
||||
return this._start == openEndFloatRange._start && this._endExclusive == openEndFloatRange._endExclusive;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
if (isEmpty()) {
|
||||
return -1;
|
||||
}
|
||||
return Float.hashCode(this._endExclusive) + (Float.hashCode(this._start) * 31);
|
||||
}
|
||||
|
||||
@Override // kotlin.ranges.OpenEndRange
|
||||
public boolean isEmpty() {
|
||||
return this._start >= this._endExclusive;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return this._start + "..<" + this._endExclusive;
|
||||
}
|
||||
|
||||
public boolean contains(float value) {
|
||||
return value >= this._start && value < this._endExclusive;
|
||||
}
|
||||
|
||||
@Override // kotlin.ranges.OpenEndRange
|
||||
public Float getEndExclusive() {
|
||||
return Float.valueOf(this._endExclusive);
|
||||
}
|
||||
|
||||
@Override // kotlin.ranges.OpenEndRange
|
||||
public Float getStart() {
|
||||
return Float.valueOf(this._start);
|
||||
}
|
||||
}
|
||||
36
apk_decompiled/sources/kotlin/ranges/OpenEndRange.java
Normal file
36
apk_decompiled/sources/kotlin/ranges/OpenEndRange.java
Normal file
@@ -0,0 +1,36 @@
|
||||
package kotlin.ranges;
|
||||
|
||||
import java.lang.Comparable;
|
||||
import kotlin.ExperimentalStdlibApi;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.SinceKotlin;
|
||||
import kotlin.WasExperimental;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@SinceKotlin(version = "1.9")
|
||||
@Metadata(d1 = {"\u0000\u001a\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000f\n\u0002\u0010\u0000\n\u0002\b\u0006\n\u0002\u0010\u000b\n\u0002\b\u0004\bg\u0018\u0000*\u000e\b\u0000\u0010\u0001*\b\u0012\u0004\u0012\u0002H\u00010\u00022\u00020\u0003J\u0016\u0010\t\u001a\u00020\n2\u0006\u0010\u000b\u001a\u00028\u0000H\u0096\u0002¢\u0006\u0002\u0010\fJ\b\u0010\r\u001a\u00020\nH\u0016R\u0012\u0010\u0004\u001a\u00028\u0000X¦\u0004¢\u0006\u0006\u001a\u0004\b\u0005\u0010\u0006R\u0012\u0010\u0007\u001a\u00028\u0000X¦\u0004¢\u0006\u0006\u001a\u0004\b\b\u0010\u0006¨\u0006\u000e"}, d2 = {"Lkotlin/ranges/OpenEndRange;", "T", "", "", "endExclusive", "getEndExclusive", "()Ljava/lang/Comparable;", "start", "getStart", "contains", "", "value", "(Ljava/lang/Comparable;)Z", "isEmpty", "kotlin-stdlib"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
@WasExperimental(markerClass = {ExperimentalStdlibApi.class})
|
||||
/* loaded from: classes3.dex */
|
||||
public interface OpenEndRange<T extends Comparable<? super T>> {
|
||||
|
||||
@Metadata(k = 3, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes3.dex */
|
||||
public static final class DefaultImpls {
|
||||
public static <T extends Comparable<? super T>> boolean contains(OpenEndRange<T> openEndRange, T value) {
|
||||
Intrinsics.checkNotNullParameter(value, "value");
|
||||
return value.compareTo(openEndRange.getStart()) >= 0 && value.compareTo(openEndRange.getEndExclusive()) < 0;
|
||||
}
|
||||
|
||||
public static <T extends Comparable<? super T>> boolean isEmpty(OpenEndRange<T> openEndRange) {
|
||||
return openEndRange.getStart().compareTo(openEndRange.getEndExclusive()) >= 0;
|
||||
}
|
||||
}
|
||||
|
||||
boolean contains(T value);
|
||||
|
||||
T getEndExclusive();
|
||||
|
||||
T getStart();
|
||||
|
||||
boolean isEmpty();
|
||||
}
|
||||
14
apk_decompiled/sources/kotlin/ranges/RangesKt.java
Normal file
14
apk_decompiled/sources/kotlin/ranges/RangesKt.java
Normal file
@@ -0,0 +1,14 @@
|
||||
package kotlin.ranges;
|
||||
|
||||
import kotlin.Metadata;
|
||||
|
||||
@Metadata(d1 = {"kotlin/ranges/RangesKt__RangesKt", "kotlin/ranges/RangesKt___RangesKt"}, k = 4, mv = {1, 9, 0}, xi = 49)
|
||||
/* loaded from: classes3.dex */
|
||||
public final class RangesKt extends RangesKt___RangesKt {
|
||||
private RangesKt() {
|
||||
}
|
||||
|
||||
public static /* bridge */ /* synthetic */ double b(double d4) {
|
||||
return RangesKt___RangesKt.coerceAtMost(d4, 1.0d);
|
||||
}
|
||||
}
|
||||
73
apk_decompiled/sources/kotlin/ranges/RangesKt__RangesKt.java
Normal file
73
apk_decompiled/sources/kotlin/ranges/RangesKt__RangesKt.java
Normal file
@@ -0,0 +1,73 @@
|
||||
package kotlin.ranges;
|
||||
|
||||
import kotlin.ExperimentalStdlibApi;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.SinceKotlin;
|
||||
import kotlin.WasExperimental;
|
||||
import kotlin.internal.InlineOnly;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@Metadata(d1 = {"\u0000H\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0004\n\u0002\b\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0002\u0010\u001c\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u000f\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u0006\n\u0002\u0010\u0007\n\u0002\b\u0003\u001a\u0018\u0010\u0000\u001a\u00020\u00012\u0006\u0010\u0002\u001a\u00020\u00032\u0006\u0010\u0004\u001a\u00020\u0005H\u0000\u001a@\u0010\u0006\u001a\u00020\u0003\"\b\b\u0000\u0010\u0007*\u00020\b\"\u0018\b\u0001\u0010\t*\b\u0012\u0004\u0012\u0002H\u00070\n*\b\u0012\u0004\u0012\u0002H\u00070\u000b*\u0002H\t2\b\u0010\f\u001a\u0004\u0018\u0001H\u0007H\u0087\n¢\u0006\u0002\u0010\r\u001a@\u0010\u0006\u001a\u00020\u0003\"\b\b\u0000\u0010\u0007*\u00020\b\"\u0018\b\u0001\u0010\t*\b\u0012\u0004\u0012\u0002H\u00070\u000e*\b\u0012\u0004\u0012\u0002H\u00070\u000b*\u0002H\t2\b\u0010\f\u001a\u0004\u0018\u0001H\u0007H\u0087\n¢\u0006\u0002\u0010\u000f\u001a0\u0010\u0010\u001a\b\u0012\u0004\u0012\u0002H\u00070\n\"\u000e\b\u0000\u0010\u0007*\b\u0012\u0004\u0012\u0002H\u00070\u0011*\u0002H\u00072\u0006\u0010\u0012\u001a\u0002H\u0007H\u0086\u0002¢\u0006\u0002\u0010\u0013\u001a\u001b\u0010\u0010\u001a\b\u0012\u0004\u0012\u00020\u00150\u0014*\u00020\u00152\u0006\u0010\u0012\u001a\u00020\u0015H\u0087\u0002\u001a\u001b\u0010\u0010\u001a\b\u0012\u0004\u0012\u00020\u00160\u0014*\u00020\u00162\u0006\u0010\u0012\u001a\u00020\u0016H\u0087\u0002\u001a0\u0010\u0017\u001a\b\u0012\u0004\u0012\u0002H\u00070\u000e\"\u000e\b\u0000\u0010\u0007*\b\u0012\u0004\u0012\u0002H\u00070\u0011*\u0002H\u00072\u0006\u0010\u0012\u001a\u0002H\u0007H\u0087\u0002¢\u0006\u0002\u0010\u0018\u001a\u001b\u0010\u0017\u001a\b\u0012\u0004\u0012\u00020\u00150\u000e*\u00020\u00152\u0006\u0010\u0012\u001a\u00020\u0015H\u0087\u0002\u001a\u001b\u0010\u0017\u001a\b\u0012\u0004\u0012\u00020\u00160\u000e*\u00020\u00162\u0006\u0010\u0012\u001a\u00020\u0016H\u0087\u0002¨\u0006\u0019"}, d2 = {"checkStepIsPositive", "", "isPositive", "", "step", "", "contains", "T", "", "R", "Lkotlin/ranges/ClosedRange;", "", "element", "(Lkotlin/ranges/ClosedRange;Ljava/lang/Object;)Z", "Lkotlin/ranges/OpenEndRange;", "(Lkotlin/ranges/OpenEndRange;Ljava/lang/Object;)Z", "rangeTo", "", "that", "(Ljava/lang/Comparable;Ljava/lang/Comparable;)Lkotlin/ranges/ClosedRange;", "Lkotlin/ranges/ClosedFloatingPointRange;", "", "", "rangeUntil", "(Ljava/lang/Comparable;Ljava/lang/Comparable;)Lkotlin/ranges/OpenEndRange;", "kotlin-stdlib"}, k = 5, mv = {1, 9, 0}, xi = 49, xs = "kotlin/ranges/RangesKt")
|
||||
/* loaded from: classes3.dex */
|
||||
class RangesKt__RangesKt {
|
||||
public static final void checkStepIsPositive(boolean z3, Number step) {
|
||||
Intrinsics.checkNotNullParameter(step, "step");
|
||||
if (z3) {
|
||||
return;
|
||||
}
|
||||
throw new IllegalArgumentException("Step must be positive, was: " + step + '.');
|
||||
}
|
||||
|
||||
/* JADX WARN: Incorrect types in method signature: <T:Ljava/lang/Object;R::Lkotlin/ranges/ClosedRange<TT;>;:Ljava/lang/Iterable<+TT;>;>(TR;TT;)Z */
|
||||
@SinceKotlin(version = "1.3")
|
||||
@InlineOnly
|
||||
private static final boolean contains(ClosedRange closedRange, Object obj) {
|
||||
Intrinsics.checkNotNullParameter(closedRange, "<this>");
|
||||
return obj != null && closedRange.contains((Comparable) obj);
|
||||
}
|
||||
|
||||
public static final <T extends Comparable<? super T>> ClosedRange<T> rangeTo(T t2, T that) {
|
||||
Intrinsics.checkNotNullParameter(t2, "<this>");
|
||||
Intrinsics.checkNotNullParameter(that, "that");
|
||||
return new ComparableRange(t2, that);
|
||||
}
|
||||
|
||||
@SinceKotlin(version = "1.9")
|
||||
@WasExperimental(markerClass = {ExperimentalStdlibApi.class})
|
||||
public static final <T extends Comparable<? super T>> OpenEndRange<T> rangeUntil(T t2, T that) {
|
||||
Intrinsics.checkNotNullParameter(t2, "<this>");
|
||||
Intrinsics.checkNotNullParameter(that, "that");
|
||||
return new ComparableOpenEndRange(t2, that);
|
||||
}
|
||||
|
||||
/* JADX WARN: Incorrect types in method signature: <T:Ljava/lang/Object;R::Lkotlin/ranges/OpenEndRange<TT;>;:Ljava/lang/Iterable<+TT;>;>(TR;TT;)Z */
|
||||
@SinceKotlin(version = "1.9")
|
||||
@WasExperimental(markerClass = {ExperimentalStdlibApi.class})
|
||||
@InlineOnly
|
||||
private static final boolean contains(OpenEndRange openEndRange, Object obj) {
|
||||
Intrinsics.checkNotNullParameter(openEndRange, "<this>");
|
||||
return obj != null && openEndRange.contains((Comparable) obj);
|
||||
}
|
||||
|
||||
@SinceKotlin(version = "1.1")
|
||||
public static final ClosedFloatingPointRange<Double> rangeTo(double d4, double d5) {
|
||||
return new ClosedDoubleRange(d4, d5);
|
||||
}
|
||||
|
||||
@SinceKotlin(version = "1.9")
|
||||
@WasExperimental(markerClass = {ExperimentalStdlibApi.class})
|
||||
public static final OpenEndRange<Double> rangeUntil(double d4, double d5) {
|
||||
return new OpenEndDoubleRange(d4, d5);
|
||||
}
|
||||
|
||||
@SinceKotlin(version = "1.1")
|
||||
public static final ClosedFloatingPointRange<Float> rangeTo(float f2, float f4) {
|
||||
return new ClosedFloatRange(f2, f4);
|
||||
}
|
||||
|
||||
@SinceKotlin(version = "1.9")
|
||||
@WasExperimental(markerClass = {ExperimentalStdlibApi.class})
|
||||
public static final OpenEndRange<Float> rangeUntil(float f2, float f4) {
|
||||
return new OpenEndFloatRange(f2, f4);
|
||||
}
|
||||
}
|
||||
1173
apk_decompiled/sources/kotlin/ranges/RangesKt___RangesKt.java
Normal file
1173
apk_decompiled/sources/kotlin/ranges/RangesKt___RangesKt.java
Normal file
File diff suppressed because one or more lines are too long
120
apk_decompiled/sources/kotlin/ranges/UIntProgression.java
Normal file
120
apk_decompiled/sources/kotlin/ranges/UIntProgression.java
Normal file
@@ -0,0 +1,120 @@
|
||||
package kotlin.ranges;
|
||||
|
||||
import java.util.Iterator;
|
||||
import kotlin.ExperimentalUnsignedTypes;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.SinceKotlin;
|
||||
import kotlin.UInt;
|
||||
import kotlin.WasExperimental;
|
||||
import kotlin.internal.UProgressionUtilKt;
|
||||
import kotlin.jvm.internal.DefaultConstructorMarker;
|
||||
import kotlin.jvm.internal.markers.KMappedMarker;
|
||||
|
||||
@SinceKotlin(version = "1.5")
|
||||
@Metadata(d1 = {"\u00004\n\u0002\u0018\u0002\n\u0002\u0010\u001c\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010\b\n\u0002\b\t\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0000\n\u0002\b\u0003\n\u0002\u0010(\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0002\b\u0017\u0018\u0000 \u00192\b\u0012\u0004\u0012\u00020\u00020\u0001:\u0001\u0019B\u001f\b\u0000\u0012\u0006\u0010\u0003\u001a\u00020\u0002\u0012\u0006\u0010\u0004\u001a\u00020\u0002\u0012\u0006\u0010\u0005\u001a\u00020\u0006¢\u0006\u0002\u0010\u0007J\u0013\u0010\u000f\u001a\u00020\u00102\b\u0010\u0011\u001a\u0004\u0018\u00010\u0012H\u0096\u0002J\b\u0010\u0013\u001a\u00020\u0006H\u0016J\b\u0010\u0014\u001a\u00020\u0010H\u0016J\u000f\u0010\u0015\u001a\b\u0012\u0004\u0012\u00020\u00020\u0016H\u0086\u0002J\b\u0010\u0017\u001a\u00020\u0018H\u0016R\u0016\u0010\b\u001a\u00020\u0002ø\u0001\u0000¢\u0006\n\n\u0002\u0010\u000b\u001a\u0004\b\t\u0010\nR\u0016\u0010\f\u001a\u00020\u0002ø\u0001\u0000¢\u0006\n\n\u0002\u0010\u000b\u001a\u0004\b\r\u0010\nR\u0011\u0010\u0005\u001a\u00020\u0006¢\u0006\b\n\u0000\u001a\u0004\b\u000e\u0010\n\u0082\u0002\u0004\n\u0002\b!¨\u0006\u001a"}, d2 = {"Lkotlin/ranges/UIntProgression;", "", "Lkotlin/UInt;", "start", "endInclusive", "step", "", "(IIILkotlin/jvm/internal/DefaultConstructorMarker;)V", "first", "getFirst-pVg5ArA", "()I", "I", "last", "getLast-pVg5ArA", "getStep", "equals", "", "other", "", "hashCode", "isEmpty", "iterator", "", "toString", "", "Companion", "kotlin-stdlib"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
@WasExperimental(markerClass = {ExperimentalUnsignedTypes.class})
|
||||
/* loaded from: classes3.dex */
|
||||
public class UIntProgression implements Iterable<UInt>, KMappedMarker {
|
||||
|
||||
/* renamed from: Companion, reason: from kotlin metadata */
|
||||
public static final Companion INSTANCE = new Companion(null);
|
||||
private final int first;
|
||||
private final int last;
|
||||
private final int step;
|
||||
|
||||
@Metadata(d1 = {"\u0000\"\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0003\b\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002J%\u0010\u0003\u001a\u00020\u00042\u0006\u0010\u0005\u001a\u00020\u00062\u0006\u0010\u0007\u001a\u00020\u00062\u0006\u0010\b\u001a\u00020\t¢\u0006\u0004\b\n\u0010\u000b¨\u0006\f"}, d2 = {"Lkotlin/ranges/UIntProgression$Companion;", "", "()V", "fromClosedRange", "Lkotlin/ranges/UIntProgression;", "rangeStart", "Lkotlin/UInt;", "rangeEnd", "step", "", "fromClosedRange-Nkh28Cs", "(III)Lkotlin/ranges/UIntProgression;", "kotlin-stdlib"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes3.dex */
|
||||
public static final class Companion {
|
||||
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
|
||||
this();
|
||||
}
|
||||
|
||||
/* renamed from: fromClosedRange-Nkh28Cs, reason: not valid java name */
|
||||
public final UIntProgression m1340fromClosedRangeNkh28Cs(int rangeStart, int rangeEnd, int step) {
|
||||
return new UIntProgression(rangeStart, rangeEnd, step, null);
|
||||
}
|
||||
|
||||
private Companion() {
|
||||
}
|
||||
}
|
||||
|
||||
public /* synthetic */ UIntProgression(int i, int i4, int i5, DefaultConstructorMarker defaultConstructorMarker) {
|
||||
this(i, i4, i5);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (!(other instanceof UIntProgression)) {
|
||||
return false;
|
||||
}
|
||||
if (isEmpty() && ((UIntProgression) other).isEmpty()) {
|
||||
return true;
|
||||
}
|
||||
UIntProgression uIntProgression = (UIntProgression) other;
|
||||
return this.first == uIntProgression.first && this.last == uIntProgression.last && this.step == uIntProgression.step;
|
||||
}
|
||||
|
||||
/* renamed from: getFirst-pVg5ArA, reason: not valid java name and from getter */
|
||||
public final int getFirst() {
|
||||
return this.first;
|
||||
}
|
||||
|
||||
/* renamed from: getLast-pVg5ArA, reason: not valid java name and from getter */
|
||||
public final int getLast() {
|
||||
return this.last;
|
||||
}
|
||||
|
||||
public final int getStep() {
|
||||
return this.step;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
if (isEmpty()) {
|
||||
return -1;
|
||||
}
|
||||
return (((this.first * 31) + this.last) * 31) + this.step;
|
||||
}
|
||||
|
||||
public boolean isEmpty() {
|
||||
return this.step > 0 ? Integer.compareUnsigned(this.first, this.last) > 0 : Integer.compareUnsigned(this.first, this.last) < 0;
|
||||
}
|
||||
|
||||
@Override // java.lang.Iterable
|
||||
public final Iterator<UInt> iterator() {
|
||||
return new UIntProgressionIterator(this.first, this.last, this.step, null);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder sb;
|
||||
int i;
|
||||
if (this.step > 0) {
|
||||
sb = new StringBuilder();
|
||||
sb.append((Object) UInt.m257toStringimpl(this.first));
|
||||
sb.append("..");
|
||||
sb.append((Object) UInt.m257toStringimpl(this.last));
|
||||
sb.append(" step ");
|
||||
i = this.step;
|
||||
} else {
|
||||
sb = new StringBuilder();
|
||||
sb.append((Object) UInt.m257toStringimpl(this.first));
|
||||
sb.append(" downTo ");
|
||||
sb.append((Object) UInt.m257toStringimpl(this.last));
|
||||
sb.append(" step ");
|
||||
i = -this.step;
|
||||
}
|
||||
sb.append(i);
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
private UIntProgression(int i, int i4, int i5) {
|
||||
if (i5 == 0) {
|
||||
throw new IllegalArgumentException("Step must be non-zero.");
|
||||
}
|
||||
if (i5 != Integer.MIN_VALUE) {
|
||||
this.first = i;
|
||||
this.last = UProgressionUtilKt.m1324getProgressionLastElementNkh28Cs(i, i4, i5);
|
||||
this.step = i5;
|
||||
return;
|
||||
}
|
||||
throw new IllegalArgumentException("Step must be greater than Int.MIN_VALUE to avoid overflow on negation.");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,64 @@
|
||||
package kotlin.ranges;
|
||||
|
||||
import java.util.Iterator;
|
||||
import java.util.NoSuchElementException;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.SinceKotlin;
|
||||
import kotlin.UInt;
|
||||
import kotlin.jvm.internal.DefaultConstructorMarker;
|
||||
import kotlin.jvm.internal.markers.KMappedMarker;
|
||||
|
||||
@SinceKotlin(version = "1.3")
|
||||
@Metadata(d1 = {"\u0000 \n\u0002\u0018\u0002\n\u0002\u0010(\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010\b\n\u0002\b\u0004\n\u0002\u0010\u000b\n\u0002\b\u0004\b\u0003\u0018\u00002\b\u0012\u0004\u0012\u00020\u00020\u0001B\u001d\u0012\u0006\u0010\u0003\u001a\u00020\u0002\u0012\u0006\u0010\u0004\u001a\u00020\u0002\u0012\u0006\u0010\u0005\u001a\u00020\u0006¢\u0006\u0002\u0010\u0007J\t\u0010\n\u001a\u00020\u000bH\u0096\u0002J\u0013\u0010\f\u001a\u00020\u0002H\u0096\u0002ø\u0001\u0000¢\u0006\u0004\b\r\u0010\u000eR\u0013\u0010\b\u001a\u00020\u0002X\u0082\u0004ø\u0001\u0000¢\u0006\u0004\n\u0002\u0010\tR\u000e\u0010\n\u001a\u00020\u000bX\u0082\u000e¢\u0006\u0002\n\u0000R\u0013\u0010\f\u001a\u00020\u0002X\u0082\u000eø\u0001\u0000¢\u0006\u0004\n\u0002\u0010\tR\u0013\u0010\u0005\u001a\u00020\u0002X\u0082\u0004ø\u0001\u0000¢\u0006\u0004\n\u0002\u0010\t\u0082\u0002\u0004\n\u0002\b!¨\u0006\u000f"}, d2 = {"Lkotlin/ranges/UIntProgressionIterator;", "", "Lkotlin/UInt;", "first", "last", "step", "", "(IIILkotlin/jvm/internal/DefaultConstructorMarker;)V", "finalElement", "I", "hasNext", "", "next", "next-pVg5ArA", "()I", "kotlin-stdlib"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes3.dex */
|
||||
final class UIntProgressionIterator implements Iterator<UInt>, KMappedMarker {
|
||||
private final int finalElement;
|
||||
private boolean hasNext;
|
||||
private int next;
|
||||
private final int step;
|
||||
|
||||
public /* synthetic */ UIntProgressionIterator(int i, int i4, int i5, DefaultConstructorMarker defaultConstructorMarker) {
|
||||
this(i, i4, i5);
|
||||
}
|
||||
|
||||
@Override // java.util.Iterator
|
||||
public boolean hasNext() {
|
||||
return this.hasNext;
|
||||
}
|
||||
|
||||
@Override // java.util.Iterator
|
||||
public /* bridge */ /* synthetic */ UInt next() {
|
||||
return UInt.m205boximpl(m1341nextpVg5ArA());
|
||||
}
|
||||
|
||||
/* renamed from: next-pVg5ArA, reason: not valid java name */
|
||||
public int m1341nextpVg5ArA() {
|
||||
int i = this.next;
|
||||
if (i != this.finalElement) {
|
||||
this.next = UInt.m211constructorimpl(this.step + i);
|
||||
return i;
|
||||
}
|
||||
if (!this.hasNext) {
|
||||
throw new NoSuchElementException();
|
||||
}
|
||||
this.hasNext = false;
|
||||
return i;
|
||||
}
|
||||
|
||||
@Override // java.util.Iterator
|
||||
public void remove() {
|
||||
throw new UnsupportedOperationException("Operation is not supported for read-only collection");
|
||||
}
|
||||
|
||||
private UIntProgressionIterator(int i, int i4, int i5) {
|
||||
this.finalElement = i4;
|
||||
boolean z3 = false;
|
||||
int compareUnsigned = Integer.compareUnsigned(i, i4);
|
||||
if (i5 <= 0 ? compareUnsigned >= 0 : compareUnsigned <= 0) {
|
||||
z3 = true;
|
||||
}
|
||||
this.hasNext = z3;
|
||||
this.step = UInt.m211constructorimpl(i5);
|
||||
this.next = this.hasNext ? i : i4;
|
||||
}
|
||||
}
|
||||
130
apk_decompiled/sources/kotlin/ranges/UIntRange.java
Normal file
130
apk_decompiled/sources/kotlin/ranges/UIntRange.java
Normal file
@@ -0,0 +1,130 @@
|
||||
package kotlin.ranges;
|
||||
|
||||
import kotlin.Deprecated;
|
||||
import kotlin.ExperimentalStdlibApi;
|
||||
import kotlin.ExperimentalUnsignedTypes;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.SinceKotlin;
|
||||
import kotlin.UInt;
|
||||
import kotlin.WasExperimental;
|
||||
import kotlin.jvm.internal.DefaultConstructorMarker;
|
||||
|
||||
@SinceKotlin(version = "1.5")
|
||||
@Metadata(d1 = {"\u00006\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u000b\n\u0002\u0010\u000b\n\u0002\b\u0005\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0002\b\u0002\b\u0007\u0018\u0000 \u001c2\u00020\u00012\b\u0012\u0004\u0012\u00020\u00030\u00022\b\u0012\u0004\u0012\u00020\u00030\u0004:\u0001\u001cB\u0015\u0012\u0006\u0010\u0005\u001a\u00020\u0003\u0012\u0006\u0010\u0006\u001a\u00020\u0003¢\u0006\u0002\u0010\u0007J\u0018\u0010\u000f\u001a\u00020\u00102\u0006\u0010\u0011\u001a\u00020\u0003H\u0096\u0002¢\u0006\u0004\b\u0012\u0010\u0013J\u0013\u0010\u0014\u001a\u00020\u00102\b\u0010\u0015\u001a\u0004\u0018\u00010\u0016H\u0096\u0002J\b\u0010\u0017\u001a\u00020\u0018H\u0016J\b\u0010\u0019\u001a\u00020\u0010H\u0016J\b\u0010\u001a\u001a\u00020\u001bH\u0016R\u001d\u0010\b\u001a\u00020\u00038VX\u0097\u0004ø\u0001\u0000¢\u0006\f\u0012\u0004\b\t\u0010\n\u001a\u0004\b\u000b\u0010\fR\u0017\u0010\u0006\u001a\u00020\u00038VX\u0096\u0004ø\u0001\u0000¢\u0006\u0006\u001a\u0004\b\r\u0010\fR\u0017\u0010\u0005\u001a\u00020\u00038VX\u0096\u0004ø\u0001\u0000¢\u0006\u0006\u001a\u0004\b\u000e\u0010\f\u0082\u0002\u0004\n\u0002\b!¨\u0006\u001d"}, d2 = {"Lkotlin/ranges/UIntRange;", "Lkotlin/ranges/UIntProgression;", "Lkotlin/ranges/ClosedRange;", "Lkotlin/UInt;", "Lkotlin/ranges/OpenEndRange;", "start", "endInclusive", "(IILkotlin/jvm/internal/DefaultConstructorMarker;)V", "endExclusive", "getEndExclusive-pVg5ArA$annotations", "()V", "getEndExclusive-pVg5ArA", "()I", "getEndInclusive-pVg5ArA", "getStart-pVg5ArA", "contains", "", "value", "contains-WZ4Q5Ns", "(I)Z", "equals", "other", "", "hashCode", "", "isEmpty", "toString", "", "Companion", "kotlin-stdlib"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
@WasExperimental(markerClass = {ExperimentalUnsignedTypes.class})
|
||||
/* loaded from: classes3.dex */
|
||||
public final class UIntRange extends UIntProgression implements ClosedRange<UInt>, OpenEndRange<UInt> {
|
||||
|
||||
/* renamed from: Companion, reason: from kotlin metadata */
|
||||
public static final Companion INSTANCE;
|
||||
private static final UIntRange EMPTY;
|
||||
|
||||
@Metadata(d1 = {"\u0000\u0014\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\b\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002R\u0011\u0010\u0003\u001a\u00020\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0005\u0010\u0006¨\u0006\u0007"}, d2 = {"Lkotlin/ranges/UIntRange$Companion;", "", "()V", "EMPTY", "Lkotlin/ranges/UIntRange;", "getEMPTY", "()Lkotlin/ranges/UIntRange;", "kotlin-stdlib"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes3.dex */
|
||||
public static final class Companion {
|
||||
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
|
||||
this();
|
||||
}
|
||||
|
||||
public final UIntRange getEMPTY() {
|
||||
return UIntRange.EMPTY;
|
||||
}
|
||||
|
||||
private Companion() {
|
||||
}
|
||||
}
|
||||
|
||||
static {
|
||||
DefaultConstructorMarker defaultConstructorMarker = null;
|
||||
INSTANCE = new Companion(defaultConstructorMarker);
|
||||
EMPTY = new UIntRange(-1, 0, defaultConstructorMarker);
|
||||
}
|
||||
|
||||
public /* synthetic */ UIntRange(int i, int i4, DefaultConstructorMarker defaultConstructorMarker) {
|
||||
this(i, i4);
|
||||
}
|
||||
|
||||
@Deprecated(message = "Can throw an exception when it's impossible to represent the value with UInt type, for example, when the range includes MAX_VALUE. It's recommended to use 'endInclusive' property that doesn't throw.")
|
||||
@SinceKotlin(version = "1.9")
|
||||
@WasExperimental(markerClass = {ExperimentalStdlibApi.class})
|
||||
/* renamed from: getEndExclusive-pVg5ArA$annotations, reason: not valid java name */
|
||||
public static /* synthetic */ void m1342getEndExclusivepVg5ArA$annotations() {
|
||||
}
|
||||
|
||||
@Override // kotlin.ranges.ClosedRange, kotlin.ranges.OpenEndRange
|
||||
public /* bridge */ /* synthetic */ boolean contains(Comparable comparable) {
|
||||
return m1343containsWZ4Q5Ns(((UInt) comparable).getData());
|
||||
}
|
||||
|
||||
/* renamed from: contains-WZ4Q5Ns, reason: not valid java name */
|
||||
public boolean m1343containsWZ4Q5Ns(int value) {
|
||||
return Integer.compareUnsigned(getFirst(), value) <= 0 && Integer.compareUnsigned(value, getLast()) <= 0;
|
||||
}
|
||||
|
||||
@Override // kotlin.ranges.UIntProgression
|
||||
public boolean equals(Object other) {
|
||||
if (!(other instanceof UIntRange)) {
|
||||
return false;
|
||||
}
|
||||
if (isEmpty() && ((UIntRange) other).isEmpty()) {
|
||||
return true;
|
||||
}
|
||||
UIntRange uIntRange = (UIntRange) other;
|
||||
return getFirst() == uIntRange.getFirst() && getLast() == uIntRange.getLast();
|
||||
}
|
||||
|
||||
@Override // kotlin.ranges.OpenEndRange
|
||||
public /* bridge */ /* synthetic */ UInt getEndExclusive() {
|
||||
return UInt.m205boximpl(m1344getEndExclusivepVg5ArA());
|
||||
}
|
||||
|
||||
/* renamed from: getEndExclusive-pVg5ArA, reason: not valid java name */
|
||||
public int m1344getEndExclusivepVg5ArA() {
|
||||
if (getLast() != -1) {
|
||||
return UInt.m211constructorimpl(getLast() + 1);
|
||||
}
|
||||
throw new IllegalStateException("Cannot return the exclusive upper bound of a range that includes MAX_VALUE.");
|
||||
}
|
||||
|
||||
@Override // kotlin.ranges.ClosedRange
|
||||
public /* bridge */ /* synthetic */ UInt getEndInclusive() {
|
||||
return UInt.m205boximpl(m1345getEndInclusivepVg5ArA());
|
||||
}
|
||||
|
||||
/* renamed from: getEndInclusive-pVg5ArA, reason: not valid java name */
|
||||
public int m1345getEndInclusivepVg5ArA() {
|
||||
return getLast();
|
||||
}
|
||||
|
||||
@Override // kotlin.ranges.ClosedRange, kotlin.ranges.OpenEndRange
|
||||
public /* bridge */ /* synthetic */ Comparable getStart() {
|
||||
return UInt.m205boximpl(m1346getStartpVg5ArA());
|
||||
}
|
||||
|
||||
/* renamed from: getStart-pVg5ArA, reason: not valid java name */
|
||||
public int m1346getStartpVg5ArA() {
|
||||
return getFirst();
|
||||
}
|
||||
|
||||
@Override // kotlin.ranges.UIntProgression
|
||||
public int hashCode() {
|
||||
if (isEmpty()) {
|
||||
return -1;
|
||||
}
|
||||
return getLast() + (getFirst() * 31);
|
||||
}
|
||||
|
||||
@Override // kotlin.ranges.UIntProgression, kotlin.ranges.ClosedRange, kotlin.ranges.OpenEndRange
|
||||
public boolean isEmpty() {
|
||||
return Integer.compareUnsigned(getFirst(), getLast()) > 0;
|
||||
}
|
||||
|
||||
@Override // kotlin.ranges.UIntProgression
|
||||
public String toString() {
|
||||
return ((Object) UInt.m257toStringimpl(getFirst())) + ".." + ((Object) UInt.m257toStringimpl(getLast()));
|
||||
}
|
||||
|
||||
private UIntRange(int i, int i4) {
|
||||
super(i, i4, 1, null);
|
||||
}
|
||||
}
|
||||
127
apk_decompiled/sources/kotlin/ranges/ULongProgression.java
Normal file
127
apk_decompiled/sources/kotlin/ranges/ULongProgression.java
Normal file
@@ -0,0 +1,127 @@
|
||||
package kotlin.ranges;
|
||||
|
||||
import java.util.Iterator;
|
||||
import kotlin.ExperimentalUnsignedTypes;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.SinceKotlin;
|
||||
import kotlin.ULong;
|
||||
import kotlin.WasExperimental;
|
||||
import kotlin.internal.UProgressionUtilKt;
|
||||
import kotlin.jvm.internal.DefaultConstructorMarker;
|
||||
import kotlin.jvm.internal.markers.KMappedMarker;
|
||||
|
||||
@SinceKotlin(version = "1.5")
|
||||
@Metadata(d1 = {"\u0000:\n\u0002\u0018\u0002\n\u0002\u0010\u001c\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010\t\n\u0002\b\t\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0002\b\u0002\n\u0002\u0010(\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0002\b\u0017\u0018\u0000 \u001a2\b\u0012\u0004\u0012\u00020\u00020\u0001:\u0001\u001aB\u001f\b\u0000\u0012\u0006\u0010\u0003\u001a\u00020\u0002\u0012\u0006\u0010\u0004\u001a\u00020\u0002\u0012\u0006\u0010\u0005\u001a\u00020\u0006¢\u0006\u0002\u0010\u0007J\u0013\u0010\u000f\u001a\u00020\u00102\b\u0010\u0011\u001a\u0004\u0018\u00010\u0012H\u0096\u0002J\b\u0010\u0013\u001a\u00020\u0014H\u0016J\b\u0010\u0015\u001a\u00020\u0010H\u0016J\u000f\u0010\u0016\u001a\b\u0012\u0004\u0012\u00020\u00020\u0017H\u0086\u0002J\b\u0010\u0018\u001a\u00020\u0019H\u0016R\u0016\u0010\b\u001a\u00020\u0002ø\u0001\u0000¢\u0006\n\n\u0002\u0010\u000b\u001a\u0004\b\t\u0010\nR\u0016\u0010\f\u001a\u00020\u0002ø\u0001\u0000¢\u0006\n\n\u0002\u0010\u000b\u001a\u0004\b\r\u0010\nR\u0011\u0010\u0005\u001a\u00020\u0006¢\u0006\b\n\u0000\u001a\u0004\b\u000e\u0010\n\u0082\u0002\u0004\n\u0002\b!¨\u0006\u001b"}, d2 = {"Lkotlin/ranges/ULongProgression;", "", "Lkotlin/ULong;", "start", "endInclusive", "step", "", "(JJJLkotlin/jvm/internal/DefaultConstructorMarker;)V", "first", "getFirst-s-VKNKU", "()J", "J", "last", "getLast-s-VKNKU", "getStep", "equals", "", "other", "", "hashCode", "", "isEmpty", "iterator", "", "toString", "", "Companion", "kotlin-stdlib"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
@WasExperimental(markerClass = {ExperimentalUnsignedTypes.class})
|
||||
/* loaded from: classes3.dex */
|
||||
public class ULongProgression implements Iterable<ULong>, KMappedMarker {
|
||||
|
||||
/* renamed from: Companion, reason: from kotlin metadata */
|
||||
public static final Companion INSTANCE = new Companion(null);
|
||||
private final long first;
|
||||
private final long last;
|
||||
private final long step;
|
||||
|
||||
@Metadata(d1 = {"\u0000\"\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\t\n\u0002\b\u0003\b\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002J%\u0010\u0003\u001a\u00020\u00042\u0006\u0010\u0005\u001a\u00020\u00062\u0006\u0010\u0007\u001a\u00020\u00062\u0006\u0010\b\u001a\u00020\t¢\u0006\u0004\b\n\u0010\u000b¨\u0006\f"}, d2 = {"Lkotlin/ranges/ULongProgression$Companion;", "", "()V", "fromClosedRange", "Lkotlin/ranges/ULongProgression;", "rangeStart", "Lkotlin/ULong;", "rangeEnd", "step", "", "fromClosedRange-7ftBX0g", "(JJJ)Lkotlin/ranges/ULongProgression;", "kotlin-stdlib"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes3.dex */
|
||||
public static final class Companion {
|
||||
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
|
||||
this();
|
||||
}
|
||||
|
||||
/* renamed from: fromClosedRange-7ftBX0g, reason: not valid java name */
|
||||
public final ULongProgression m1349fromClosedRange7ftBX0g(long rangeStart, long rangeEnd, long step) {
|
||||
return new ULongProgression(rangeStart, rangeEnd, step, null);
|
||||
}
|
||||
|
||||
private Companion() {
|
||||
}
|
||||
}
|
||||
|
||||
public /* synthetic */ ULongProgression(long j4, long j5, long j6, DefaultConstructorMarker defaultConstructorMarker) {
|
||||
this(j4, j5, j6);
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (!(other instanceof ULongProgression)) {
|
||||
return false;
|
||||
}
|
||||
if (isEmpty() && ((ULongProgression) other).isEmpty()) {
|
||||
return true;
|
||||
}
|
||||
ULongProgression uLongProgression = (ULongProgression) other;
|
||||
return this.first == uLongProgression.first && this.last == uLongProgression.last && this.step == uLongProgression.step;
|
||||
}
|
||||
|
||||
/* renamed from: getFirst-s-VKNKU, reason: not valid java name and from getter */
|
||||
public final long getFirst() {
|
||||
return this.first;
|
||||
}
|
||||
|
||||
/* renamed from: getLast-s-VKNKU, reason: not valid java name and from getter */
|
||||
public final long getLast() {
|
||||
return this.last;
|
||||
}
|
||||
|
||||
public final long getStep() {
|
||||
return this.step;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
if (isEmpty()) {
|
||||
return -1;
|
||||
}
|
||||
long j4 = this.first;
|
||||
int m290constructorimpl = ((int) ULong.m290constructorimpl(j4 ^ ULong.m290constructorimpl(j4 >>> 32))) * 31;
|
||||
long j5 = this.last;
|
||||
int m290constructorimpl2 = (m290constructorimpl + ((int) ULong.m290constructorimpl(j5 ^ ULong.m290constructorimpl(j5 >>> 32)))) * 31;
|
||||
long j6 = this.step;
|
||||
return m290constructorimpl2 + ((int) ((j6 >>> 32) ^ j6));
|
||||
}
|
||||
|
||||
public boolean isEmpty() {
|
||||
long j4 = this.step;
|
||||
int compareUnsigned = Long.compareUnsigned(this.first, this.last);
|
||||
return j4 > 0 ? compareUnsigned > 0 : compareUnsigned < 0;
|
||||
}
|
||||
|
||||
@Override // java.lang.Iterable
|
||||
public final Iterator<ULong> iterator() {
|
||||
return new ULongProgressionIterator(this.first, this.last, this.step, null);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder sb;
|
||||
long j4;
|
||||
if (this.step > 0) {
|
||||
sb = new StringBuilder();
|
||||
sb.append((Object) ULong.m336toStringimpl(this.first));
|
||||
sb.append("..");
|
||||
sb.append((Object) ULong.m336toStringimpl(this.last));
|
||||
sb.append(" step ");
|
||||
j4 = this.step;
|
||||
} else {
|
||||
sb = new StringBuilder();
|
||||
sb.append((Object) ULong.m336toStringimpl(this.first));
|
||||
sb.append(" downTo ");
|
||||
sb.append((Object) ULong.m336toStringimpl(this.last));
|
||||
sb.append(" step ");
|
||||
j4 = -this.step;
|
||||
}
|
||||
sb.append(j4);
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
private ULongProgression(long j4, long j5, long j6) {
|
||||
if (j6 == 0) {
|
||||
throw new IllegalArgumentException("Step must be non-zero.");
|
||||
}
|
||||
if (j6 != Long.MIN_VALUE) {
|
||||
this.first = j4;
|
||||
this.last = UProgressionUtilKt.m1323getProgressionLastElement7ftBX0g(j4, j5, j6);
|
||||
this.step = j6;
|
||||
return;
|
||||
}
|
||||
throw new IllegalArgumentException("Step must be greater than Long.MIN_VALUE to avoid overflow on negation.");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,63 @@
|
||||
package kotlin.ranges;
|
||||
|
||||
import java.util.Iterator;
|
||||
import java.util.NoSuchElementException;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.SinceKotlin;
|
||||
import kotlin.ULong;
|
||||
import kotlin.jvm.internal.DefaultConstructorMarker;
|
||||
import kotlin.jvm.internal.markers.KMappedMarker;
|
||||
|
||||
@SinceKotlin(version = "1.3")
|
||||
@Metadata(d1 = {"\u0000 \n\u0002\u0018\u0002\n\u0002\u0010(\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010\t\n\u0002\b\u0004\n\u0002\u0010\u000b\n\u0002\b\u0004\b\u0003\u0018\u00002\b\u0012\u0004\u0012\u00020\u00020\u0001B\u001d\u0012\u0006\u0010\u0003\u001a\u00020\u0002\u0012\u0006\u0010\u0004\u001a\u00020\u0002\u0012\u0006\u0010\u0005\u001a\u00020\u0006¢\u0006\u0002\u0010\u0007J\t\u0010\n\u001a\u00020\u000bH\u0096\u0002J\u0013\u0010\f\u001a\u00020\u0002H\u0096\u0002ø\u0001\u0000¢\u0006\u0004\b\r\u0010\u000eR\u0013\u0010\b\u001a\u00020\u0002X\u0082\u0004ø\u0001\u0000¢\u0006\u0004\n\u0002\u0010\tR\u000e\u0010\n\u001a\u00020\u000bX\u0082\u000e¢\u0006\u0002\n\u0000R\u0013\u0010\f\u001a\u00020\u0002X\u0082\u000eø\u0001\u0000¢\u0006\u0004\n\u0002\u0010\tR\u0013\u0010\u0005\u001a\u00020\u0002X\u0082\u0004ø\u0001\u0000¢\u0006\u0004\n\u0002\u0010\t\u0082\u0002\u0004\n\u0002\b!¨\u0006\u000f"}, d2 = {"Lkotlin/ranges/ULongProgressionIterator;", "", "Lkotlin/ULong;", "first", "last", "step", "", "(JJJLkotlin/jvm/internal/DefaultConstructorMarker;)V", "finalElement", "J", "hasNext", "", "next", "next-s-VKNKU", "()J", "kotlin-stdlib"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes3.dex */
|
||||
final class ULongProgressionIterator implements Iterator<ULong>, KMappedMarker {
|
||||
private final long finalElement;
|
||||
private boolean hasNext;
|
||||
private long next;
|
||||
private final long step;
|
||||
|
||||
public /* synthetic */ ULongProgressionIterator(long j4, long j5, long j6, DefaultConstructorMarker defaultConstructorMarker) {
|
||||
this(j4, j5, j6);
|
||||
}
|
||||
|
||||
@Override // java.util.Iterator
|
||||
public boolean hasNext() {
|
||||
return this.hasNext;
|
||||
}
|
||||
|
||||
@Override // java.util.Iterator
|
||||
public /* bridge */ /* synthetic */ ULong next() {
|
||||
return ULong.m284boximpl(m1350nextsVKNKU());
|
||||
}
|
||||
|
||||
/* renamed from: next-s-VKNKU, reason: not valid java name */
|
||||
public long m1350nextsVKNKU() {
|
||||
long j4 = this.next;
|
||||
if (j4 != this.finalElement) {
|
||||
this.next = ULong.m290constructorimpl(this.step + j4);
|
||||
return j4;
|
||||
}
|
||||
if (!this.hasNext) {
|
||||
throw new NoSuchElementException();
|
||||
}
|
||||
this.hasNext = false;
|
||||
return j4;
|
||||
}
|
||||
|
||||
@Override // java.util.Iterator
|
||||
public void remove() {
|
||||
throw new UnsupportedOperationException("Operation is not supported for read-only collection");
|
||||
}
|
||||
|
||||
private ULongProgressionIterator(long j4, long j5, long j6) {
|
||||
this.finalElement = j5;
|
||||
boolean z3 = false;
|
||||
if (j6 <= 0 ? Long.compareUnsigned(j4, j5) >= 0 : Long.compareUnsigned(j4, j5) <= 0) {
|
||||
z3 = true;
|
||||
}
|
||||
this.hasNext = z3;
|
||||
this.step = ULong.m290constructorimpl(j6);
|
||||
this.next = this.hasNext ? j4 : j5;
|
||||
}
|
||||
}
|
||||
124
apk_decompiled/sources/kotlin/ranges/ULongRange.java
Normal file
124
apk_decompiled/sources/kotlin/ranges/ULongRange.java
Normal file
@@ -0,0 +1,124 @@
|
||||
package kotlin.ranges;
|
||||
|
||||
import kotlin.Deprecated;
|
||||
import kotlin.ExperimentalStdlibApi;
|
||||
import kotlin.ExperimentalUnsignedTypes;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.SinceKotlin;
|
||||
import kotlin.ULong;
|
||||
import kotlin.WasExperimental;
|
||||
import kotlin.jvm.internal.DefaultConstructorMarker;
|
||||
|
||||
@SinceKotlin(version = "1.5")
|
||||
@Metadata(d1 = {"\u00006\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u000b\n\u0002\u0010\u000b\n\u0002\b\u0005\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0002\b\u0002\b\u0007\u0018\u0000 \u001c2\u00020\u00012\b\u0012\u0004\u0012\u00020\u00030\u00022\b\u0012\u0004\u0012\u00020\u00030\u0004:\u0001\u001cB\u0015\u0012\u0006\u0010\u0005\u001a\u00020\u0003\u0012\u0006\u0010\u0006\u001a\u00020\u0003¢\u0006\u0002\u0010\u0007J\u0018\u0010\u000f\u001a\u00020\u00102\u0006\u0010\u0011\u001a\u00020\u0003H\u0096\u0002¢\u0006\u0004\b\u0012\u0010\u0013J\u0013\u0010\u0014\u001a\u00020\u00102\b\u0010\u0015\u001a\u0004\u0018\u00010\u0016H\u0096\u0002J\b\u0010\u0017\u001a\u00020\u0018H\u0016J\b\u0010\u0019\u001a\u00020\u0010H\u0016J\b\u0010\u001a\u001a\u00020\u001bH\u0016R\u001d\u0010\b\u001a\u00020\u00038VX\u0097\u0004ø\u0001\u0000¢\u0006\f\u0012\u0004\b\t\u0010\n\u001a\u0004\b\u000b\u0010\fR\u0017\u0010\u0006\u001a\u00020\u00038VX\u0096\u0004ø\u0001\u0000¢\u0006\u0006\u001a\u0004\b\r\u0010\fR\u0017\u0010\u0005\u001a\u00020\u00038VX\u0096\u0004ø\u0001\u0000¢\u0006\u0006\u001a\u0004\b\u000e\u0010\f\u0082\u0002\u0004\n\u0002\b!¨\u0006\u001d"}, d2 = {"Lkotlin/ranges/ULongRange;", "Lkotlin/ranges/ULongProgression;", "Lkotlin/ranges/ClosedRange;", "Lkotlin/ULong;", "Lkotlin/ranges/OpenEndRange;", "start", "endInclusive", "(JJLkotlin/jvm/internal/DefaultConstructorMarker;)V", "endExclusive", "getEndExclusive-s-VKNKU$annotations", "()V", "getEndExclusive-s-VKNKU", "()J", "getEndInclusive-s-VKNKU", "getStart-s-VKNKU", "contains", "", "value", "contains-VKZWuLQ", "(J)Z", "equals", "other", "", "hashCode", "", "isEmpty", "toString", "", "Companion", "kotlin-stdlib"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
@WasExperimental(markerClass = {ExperimentalUnsignedTypes.class})
|
||||
/* loaded from: classes3.dex */
|
||||
public final class ULongRange extends ULongProgression implements ClosedRange<ULong>, OpenEndRange<ULong> {
|
||||
|
||||
/* renamed from: Companion, reason: from kotlin metadata */
|
||||
public static final Companion INSTANCE = new Companion(null);
|
||||
private static final ULongRange EMPTY = new ULongRange(-1, 0, null);
|
||||
|
||||
@Metadata(d1 = {"\u0000\u0014\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\b\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002R\u0011\u0010\u0003\u001a\u00020\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0005\u0010\u0006¨\u0006\u0007"}, d2 = {"Lkotlin/ranges/ULongRange$Companion;", "", "()V", "EMPTY", "Lkotlin/ranges/ULongRange;", "getEMPTY", "()Lkotlin/ranges/ULongRange;", "kotlin-stdlib"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes3.dex */
|
||||
public static final class Companion {
|
||||
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
|
||||
this();
|
||||
}
|
||||
|
||||
public final ULongRange getEMPTY() {
|
||||
return ULongRange.EMPTY;
|
||||
}
|
||||
|
||||
private Companion() {
|
||||
}
|
||||
}
|
||||
|
||||
public /* synthetic */ ULongRange(long j4, long j5, DefaultConstructorMarker defaultConstructorMarker) {
|
||||
this(j4, j5);
|
||||
}
|
||||
|
||||
@Deprecated(message = "Can throw an exception when it's impossible to represent the value with ULong type, for example, when the range includes MAX_VALUE. It's recommended to use 'endInclusive' property that doesn't throw.")
|
||||
@SinceKotlin(version = "1.9")
|
||||
@WasExperimental(markerClass = {ExperimentalStdlibApi.class})
|
||||
/* renamed from: getEndExclusive-s-VKNKU$annotations, reason: not valid java name */
|
||||
public static /* synthetic */ void m1351getEndExclusivesVKNKU$annotations() {
|
||||
}
|
||||
|
||||
@Override // kotlin.ranges.ClosedRange, kotlin.ranges.OpenEndRange
|
||||
public /* bridge */ /* synthetic */ boolean contains(Comparable comparable) {
|
||||
return m1352containsVKZWuLQ(((ULong) comparable).getData());
|
||||
}
|
||||
|
||||
/* renamed from: contains-VKZWuLQ, reason: not valid java name */
|
||||
public boolean m1352containsVKZWuLQ(long value) {
|
||||
return Long.compareUnsigned(getFirst(), value) <= 0 && Long.compareUnsigned(value, getLast()) <= 0;
|
||||
}
|
||||
|
||||
@Override // kotlin.ranges.ULongProgression
|
||||
public boolean equals(Object other) {
|
||||
if (!(other instanceof ULongRange)) {
|
||||
return false;
|
||||
}
|
||||
if (isEmpty() && ((ULongRange) other).isEmpty()) {
|
||||
return true;
|
||||
}
|
||||
ULongRange uLongRange = (ULongRange) other;
|
||||
return getFirst() == uLongRange.getFirst() && getLast() == uLongRange.getLast();
|
||||
}
|
||||
|
||||
@Override // kotlin.ranges.OpenEndRange
|
||||
public /* bridge */ /* synthetic */ ULong getEndExclusive() {
|
||||
return ULong.m284boximpl(m1353getEndExclusivesVKNKU());
|
||||
}
|
||||
|
||||
/* renamed from: getEndExclusive-s-VKNKU, reason: not valid java name */
|
||||
public long m1353getEndExclusivesVKNKU() {
|
||||
if (getLast() == -1) {
|
||||
throw new IllegalStateException("Cannot return the exclusive upper bound of a range that includes MAX_VALUE.");
|
||||
}
|
||||
return ULong.m290constructorimpl(ULong.m290constructorimpl(1 & 4294967295L) + getLast());
|
||||
}
|
||||
|
||||
@Override // kotlin.ranges.ClosedRange
|
||||
public /* bridge */ /* synthetic */ ULong getEndInclusive() {
|
||||
return ULong.m284boximpl(m1354getEndInclusivesVKNKU());
|
||||
}
|
||||
|
||||
/* renamed from: getEndInclusive-s-VKNKU, reason: not valid java name */
|
||||
public long m1354getEndInclusivesVKNKU() {
|
||||
return getLast();
|
||||
}
|
||||
|
||||
@Override // kotlin.ranges.ClosedRange, kotlin.ranges.OpenEndRange
|
||||
public /* bridge */ /* synthetic */ Comparable getStart() {
|
||||
return ULong.m284boximpl(m1355getStartsVKNKU());
|
||||
}
|
||||
|
||||
/* renamed from: getStart-s-VKNKU, reason: not valid java name */
|
||||
public long m1355getStartsVKNKU() {
|
||||
return getFirst();
|
||||
}
|
||||
|
||||
@Override // kotlin.ranges.ULongProgression
|
||||
public int hashCode() {
|
||||
if (isEmpty()) {
|
||||
return -1;
|
||||
}
|
||||
return (((int) ULong.m290constructorimpl(getFirst() ^ ULong.m290constructorimpl(getFirst() >>> 32))) * 31) + ((int) ULong.m290constructorimpl(getLast() ^ ULong.m290constructorimpl(getLast() >>> 32)));
|
||||
}
|
||||
|
||||
@Override // kotlin.ranges.ULongProgression, kotlin.ranges.ClosedRange, kotlin.ranges.OpenEndRange
|
||||
public boolean isEmpty() {
|
||||
return Long.compareUnsigned(getFirst(), getLast()) > 0;
|
||||
}
|
||||
|
||||
@Override // kotlin.ranges.ULongProgression
|
||||
public String toString() {
|
||||
return ((Object) ULong.m336toStringimpl(getFirst())) + ".." + ((Object) ULong.m336toStringimpl(getLast()));
|
||||
}
|
||||
|
||||
private ULongRange(long j4, long j5) {
|
||||
super(j4, j5, 1L, null);
|
||||
}
|
||||
}
|
||||
10
apk_decompiled/sources/kotlin/ranges/URangesKt.java
Normal file
10
apk_decompiled/sources/kotlin/ranges/URangesKt.java
Normal file
@@ -0,0 +1,10 @@
|
||||
package kotlin.ranges;
|
||||
|
||||
import kotlin.Metadata;
|
||||
|
||||
@Metadata(d1 = {"kotlin/ranges/URangesKt___URangesKt"}, k = 4, mv = {1, 9, 0}, xi = 49)
|
||||
/* loaded from: classes3.dex */
|
||||
public final class URangesKt extends URangesKt___URangesKt {
|
||||
private URangesKt() {
|
||||
}
|
||||
}
|
||||
467
apk_decompiled/sources/kotlin/ranges/URangesKt___URangesKt.java
Normal file
467
apk_decompiled/sources/kotlin/ranges/URangesKt___URangesKt.java
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user