Files
rr3-apk/decompiled-community/sources/kotlin/ranges/LongRange.java
Daniel Elliott c080f0d97f Add Discord community version (64-bit only)
- Added realracing3-community.apk (71.57 MB)
- Removed 32-bit support (armeabi-v7a)
- Only includes arm64-v8a libraries
- Decompiled source code included
- Added README-community.md with analysis
2026-02-18 15:48:36 -08:00

64 lines
1.6 KiB
Java

package kotlin.ranges;
import kotlin.jvm.internal.DefaultConstructorMarker;
/* loaded from: classes5.dex */
public final class LongRange extends LongProgression implements ClosedRange {
public static final Companion Companion = new Companion(null);
public static final LongRange EMPTY = new LongRange(1, 0);
public LongRange(long j, long j2) {
super(j, j2, 1L);
}
@Override // kotlin.ranges.ClosedRange
public Long getStart() {
return Long.valueOf(getFirst());
}
@Override // kotlin.ranges.ClosedRange
public Long getEndInclusive() {
return Long.valueOf(getLast());
}
public boolean contains(long j) {
return getFirst() <= j && j <= getLast();
}
public boolean isEmpty() {
return getFirst() > getLast();
}
public boolean equals(Object obj) {
if (obj instanceof LongRange) {
if (!isEmpty() || !((LongRange) obj).isEmpty()) {
LongRange longRange = (LongRange) obj;
if (getFirst() != longRange.getFirst() || getLast() != longRange.getLast()) {
}
}
return true;
}
return false;
}
public int hashCode() {
if (isEmpty()) {
return -1;
}
return (int) ((31 * (getFirst() ^ (getFirst() >>> 32))) + (getLast() ^ (getLast() >>> 32)));
}
public String toString() {
return getFirst() + ".." + getLast();
}
public static final class Companion {
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
public Companion() {
}
}
}