Home
last modified time | relevance | path

Searched refs:assertNonNegative (Results 1 – 3 of 3) sorted by relevance

/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/
DPrettyPrinterConfiguration.java30 import static com.github.javaparser.utils.Utils.assertNonNegative;
121 this.indentSize = assertNonNegative(indentSize); in setIndentSize()
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/utils/
DUtilsTest.java66 assertEquals((Number) 2, assertNonNegative(2)); in testAssertNonNegative()
67 assertThrows(AssertionError.class, () -> assertNonNegative(-2)); in testAssertNonNegative()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/utils/
DUtils.java59 public static <T extends Number> T assertNonNegative(T number) { in assertNonNegative() method in Utils