Searched refs:nextLine (Results 1 – 9 of 9) sorted by relevance
577 String nextLine = null; in lines()581 if (nextLine != null) { in lines()585 nextLine = readLine(); in lines()586 return (nextLine != null); in lines()595 if (nextLine != null || hasNext()) { in lines()596 String line = nextLine; in lines()597 nextLine = null; in lines()
137 sc.nextLine(); in useCase1()188 String text = sc.nextLine(); in useCase3()192 sc.nextLine(); in useCase3()251 sc.nextLine(); in useCase5()269 sc.nextLine(); in useCase5()433 if (!sc.nextLine().equals("1")) failCount++; in hasNextLineTest()437 if (!sc.nextLine().equals("")) failCount++; in hasNextLineTest()441 if (!sc.nextLine().equals(" 3")) failCount++; in hasNextLineTest()447 if (!sc.nextLine().equals(" 4")) failCount++; in hasNextLineTest()449 if (!sc.nextLine().equals("5")) failCount++; in hasNextLineTest()[all …]
157 String ln = in.nextLine(); in spp()165 in.nextLine(); in spp()
109 scanner.nextLine(); in readAll()
5006 assertEquals("", s.nextLine()); in test_findInLine_LPattern()5009 assertEquals("", s.nextLine()); in test_findInLine_LPattern()5024 s.nextLine(); in test_findInLine_LPattern()5027 s.nextLine(); in test_findInLine_LPattern()5419 s.nextLine(); in test_nextLine()5425 String result = s.nextLine(); in test_nextLine()5432 result = s.nextLine(); in test_nextLine()5439 result = s.nextLine(); in test_nextLine()5446 result = s.nextLine(); in test_nextLine()5454 result = s.nextLine(); in test_nextLine()[all …]
714 assertTrue(scanner.nextLine().startsWith("#A Header")); in test_storeLjava_io_WriterLjava_lang_String()715 assertTrue(scanner.nextLine().startsWith("#")); in test_storeLjava_io_WriterLjava_lang_String()
418 assertEquals(newValue, scanner.nextLine()); in changeProperties()
1662 public String nextLine() { in nextLine() method in Scanner
14820 method public String nextLine();