- 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
71 lines
2.1 KiB
Java
71 lines
2.1 KiB
Java
package com.google.common.collect;
|
|
|
|
import com.google.common.primitives.Ints;
|
|
import com.google.common.primitives.Longs;
|
|
|
|
/* loaded from: classes3.dex */
|
|
public abstract class ComparisonChain {
|
|
public static final ComparisonChain ACTIVE = new ComparisonChain() { // from class: com.google.common.collect.ComparisonChain.1
|
|
@Override // com.google.common.collect.ComparisonChain
|
|
public int result() {
|
|
return 0;
|
|
}
|
|
|
|
@Override // com.google.common.collect.ComparisonChain
|
|
public ComparisonChain compare(int i, int i2) {
|
|
return classify(Ints.compare(i, i2));
|
|
}
|
|
|
|
@Override // com.google.common.collect.ComparisonChain
|
|
public ComparisonChain compare(long j, long j2) {
|
|
return classify(Longs.compare(j, j2));
|
|
}
|
|
|
|
public ComparisonChain classify(int i) {
|
|
if (i < 0) {
|
|
return ComparisonChain.LESS;
|
|
}
|
|
return i > 0 ? ComparisonChain.GREATER : ComparisonChain.ACTIVE;
|
|
}
|
|
};
|
|
public static final ComparisonChain LESS = new InactiveComparisonChain(-1);
|
|
public static final ComparisonChain GREATER = new InactiveComparisonChain(1);
|
|
|
|
public static ComparisonChain start() {
|
|
return ACTIVE;
|
|
}
|
|
|
|
public abstract ComparisonChain compare(int i, int i2);
|
|
|
|
public abstract ComparisonChain compare(long j, long j2);
|
|
|
|
public abstract int result();
|
|
|
|
public ComparisonChain() {
|
|
}
|
|
|
|
public static final class InactiveComparisonChain extends ComparisonChain {
|
|
public final int result;
|
|
|
|
@Override // com.google.common.collect.ComparisonChain
|
|
public ComparisonChain compare(int i, int i2) {
|
|
return this;
|
|
}
|
|
|
|
@Override // com.google.common.collect.ComparisonChain
|
|
public ComparisonChain compare(long j, long j2) {
|
|
return this;
|
|
}
|
|
|
|
@Override // com.google.common.collect.ComparisonChain
|
|
public int result() {
|
|
return this.result;
|
|
}
|
|
|
|
public InactiveComparisonChain(int i) {
|
|
super();
|
|
this.result = i;
|
|
}
|
|
}
|
|
}
|