- 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
19 lines
536 B
Java
19 lines
536 B
Java
package com.google.common.primitives;
|
|
|
|
import com.google.common.base.Preconditions;
|
|
|
|
/* loaded from: classes3.dex */
|
|
public abstract class Ints extends IntsMethodsForWeb {
|
|
public static int compare(int i, int i2) {
|
|
if (i < i2) {
|
|
return -1;
|
|
}
|
|
return i > i2 ? 1 : 0;
|
|
}
|
|
|
|
public static int constrainToRange(int i, int i2, int i3) {
|
|
Preconditions.checkArgument(i2 <= i3, "min (%s) must be less than or equal to max (%s)", i2, i3);
|
|
return Math.min(Math.max(i, i2), i3);
|
|
}
|
|
}
|