![JAR search and dependency download from the Maven repository](/logo.png)
com.google.common.math.MathPreconditions.class Maven / Gradle / Ivy
???? 4 l G H
I
J K
L M
N
O
P
Q R
S T
U V W
O X Y Z [ \ ]
I ^ _
checkPositive (Ljava/lang/String;I)I Code LineNumberTable LocalVariableTable role Ljava/lang/String; x I
StackMapTable MethodParameters RuntimeInvisibleAnnotations 8Lcom/google/errorprone/annotations/CanIgnoreReturnValue; (Ljava/lang/String;J)J J @(Ljava/lang/String;Ljava/math/BigInteger;)Ljava/math/BigInteger; Ljava/math/BigInteger; checkNonNegative (Ljava/lang/String;D)D D checkRoundingUnnecessary (Z)V condition Z checkInRangeForRoundingInputs (ZDLjava/math/RoundingMode;)V input mode Ljava/math/RoundingMode; checkNoOverflow (ZLjava/lang/String;II)V
methodName a b (ZLjava/lang/String;JJ)V ()V this *Lcom/google/common/math/MathPreconditions;
SourceFile MathPreconditions.java RuntimeVisibleAnnotations 8Lcom/google/common/math/ElementTypesAreNonnullByDefault; -Lcom/google/common/annotations/GwtCompatible; "java/lang/IllegalArgumentException java/lang/StringBuilder > ? ` a ( ` b
) must be > 0 c d > e ` f g h i ` j ) must be >= 0 ` k java/lang/ArithmeticException 0mode was UNNECESSARY, but rounding was necessary (rounded value is out of range for input and rounding mode
overflow: ( , ) (com/google/common/math/MathPreconditions java/lang/Object append -(Ljava/lang/String;)Ljava/lang/StringBuilder; (I)Ljava/lang/StringBuilder; toString ()Ljava/lang/String; (Ljava/lang/String;)V (J)Ljava/lang/StringBuilder; java/math/BigInteger signum ()I -(Ljava/lang/Object;)Ljava/lang/StringBuilder; (D)Ljava/lang/StringBuilder; 0 o *? '? Y? Y? *? ? ? ? ? ? ?? ! ( # * ! * " # $ ( % " &