Searched refs:MathPreconditions (Results 1 – 10 of 10) sorted by relevance
/external/guava/guava-tests/test/com/google/common/math/ |
D | MathPreconditionsTest.java | 35 MathPreconditions.checkPositive("int", 0); in testCheckPositive_zeroInt() 41 MathPreconditions.checkPositive("int", Integer.MAX_VALUE); in testCheckPositive_maxInt() 46 MathPreconditions.checkPositive("int", Integer.MIN_VALUE); in testCheckPositive_minInt() 52 MathPreconditions.checkPositive("int", 1); in testCheckPositive_positiveInt() 57 MathPreconditions.checkPositive("int", -1); in testCheckPositive_negativeInt() 64 MathPreconditions.checkPositive("long", 0L); in testCheckPositive_zeroLong() 70 MathPreconditions.checkPositive("long", Long.MAX_VALUE); in testCheckPositive_maxLong() 75 MathPreconditions.checkPositive("long", Long.MIN_VALUE); in testCheckPositive_minLong() 81 MathPreconditions.checkPositive("long", 1); in testCheckPositive_positiveLong() 86 MathPreconditions.checkPositive("long", -1L); in testCheckPositive_negativeLong() [all …]
|
/external/guava/guava-gwt/src-super/com/google/common/math/super/com/google/common/math/ |
D | IntMath.java | 20 import static com.google.common.math.MathPreconditions.checkNoOverflow; 21 import static com.google.common.math.MathPreconditions.checkNonNegative; 22 import static com.google.common.math.MathPreconditions.checkPositive; 23 import static com.google.common.math.MathPreconditions.checkRoundingUnnecessary;
|
D | LongMath.java | 20 import static com.google.common.math.MathPreconditions.checkNonNegative; 21 import static com.google.common.math.MathPreconditions.checkPositive; 22 import static com.google.common.math.MathPreconditions.checkRoundingUnnecessary;
|
D | DoubleMath.java | 19 import static com.google.common.math.MathPreconditions.checkNonNegative; 137 MathPreconditions.checkNonNegative("tolerance", tolerance); in fuzzyEquals()
|
D | BigIntegerMath.java | 21 import static com.google.common.math.MathPreconditions.checkNonNegative; 22 import static com.google.common.math.MathPreconditions.checkPositive; 23 import static com.google.common.math.MathPreconditions.checkRoundingUnnecessary;
|
/external/guava/guava/src/com/google/common/math/ |
D | DoubleMath.java | 26 import static com.google.common.math.MathPreconditions.checkInRange; 27 import static com.google.common.math.MathPreconditions.checkNonNegative; 28 import static com.google.common.math.MathPreconditions.checkRoundingUnnecessary; 352 MathPreconditions.checkNonNegative("tolerance", tolerance); in fuzzyEquals()
|
D | MathPreconditions.java | 29 final class MathPreconditions { class 97 private MathPreconditions() {} in MathPreconditions() method in MathPreconditions
|
D | IntMath.java | 21 import static com.google.common.math.MathPreconditions.checkNoOverflow; 22 import static com.google.common.math.MathPreconditions.checkNonNegative; 23 import static com.google.common.math.MathPreconditions.checkPositive; 24 import static com.google.common.math.MathPreconditions.checkRoundingUnnecessary;
|
D | LongMath.java | 21 import static com.google.common.math.MathPreconditions.checkNoOverflow; 22 import static com.google.common.math.MathPreconditions.checkNonNegative; 23 import static com.google.common.math.MathPreconditions.checkPositive; 24 import static com.google.common.math.MathPreconditions.checkRoundingUnnecessary;
|
D | BigIntegerMath.java | 21 import static com.google.common.math.MathPreconditions.checkNonNegative; 22 import static com.google.common.math.MathPreconditions.checkPositive; 23 import static com.google.common.math.MathPreconditions.checkRoundingUnnecessary;
|