.class public abstract Lcom/google/common/primitives/Ints; .super Lcom/google/common/primitives/IntsMethodsForWeb; .source "SourceFile" # direct methods .method public static compare(II)I .locals 0 if-ge p0, p1, :cond_0 const/4 p0, -0x1 goto :goto_0 :cond_0 if-le p0, p1, :cond_1 const/4 p0, 0x1 goto :goto_0 :cond_1 const/4 p0, 0x0 :goto_0 return p0 .end method .method public static constrainToRange(III)I .locals 2 if-gt p1, p2, :cond_0 const/4 v0, 0x1 goto :goto_0 :cond_0 const/4 v0, 0x0 :goto_0 const-string v1, "min (%s) must be less than or equal to max (%s)" .line 272 invoke-static {v0, v1, p1, p2}, Lcom/google/common/base/Preconditions;->checkArgument(ZLjava/lang/String;II)V .line 273 invoke-static {p0, p1}, Ljava/lang/Math;->max(II)I move-result p0 invoke-static {p0, p2}, Ljava/lang/Math;->min(II)I move-result p0 return p0 .end method