Home
last modified time | relevance | path

Searched refs:hasNextInt (Results 1 – 4 of 4) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DScannerTest.java396 while (s.hasNextInt()) { in test_ConstructorLjava_nio_channels_ReadableByteChannel()
462 s.hasNextInt(); in test_Constructor_LReadableByteChannel()
3245 assertTrue(s.hasNextInt(10)); in test_hasNextIntI()
3247 assertFalse(s.hasNextInt(10)); in test_hasNextIntI()
3256 assertTrue(s.hasNextInt(5)); in test_hasNextIntI()
3258 assertFalse(s.hasNextInt(5)); in test_hasNextIntI()
3267 assertFalse(s.hasNextInt(10)); in test_hasNextIntI()
3275 assertFalse(s.hasNextInt(10)); in test_hasNextIntI()
3278 assertTrue(s.hasNextInt(10)); in test_hasNextIntI()
3284 assertFalse(s.hasNextInt(10)); in test_hasNextIntI()
[all …]
/libcore/ojluni/src/test/java/util/Scanner/
DScanTest.java551 scanner.hasNextInt(); in cacheTest()
562 scanner.hasNextInt(); in cacheTest()
586 scanner.hasNextInt(); in cacheTest()
611 scanner.hasNextInt(); in cacheTest()
644 scanner.hasNextInt(16); in cacheTest2()
696 Scanner::hasNextInt,
824 if (!sc.hasNextInt()) failCount++; in integerPatternBody()
828 if (!sc.hasNextInt()) failCount++; in integerPatternBody()
1163 if (!s.hasNextInt()) failCount++; in intTest()
1165 if (!s.hasNextInt()) failCount++; in intTest()
[all …]
/libcore/ojluni/src/main/java/java/util/
DScanner.java2156 public boolean hasNextInt() { in hasNextInt() method in Scanner
2157 return hasNextInt(defaultRadix); in hasNextInt()
2175 public boolean hasNextInt(int radix) { in hasNextInt() method in Scanner
/libcore/api/
Dcurrent.txt14797 method public boolean hasNextInt();
14798 method public boolean hasNextInt(int);