- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for testReadLines_withLineProcessor (0.18 sec)
-
android/guava-tests/test/com/google/common/io/CharStreamsTest.java
public void testReadLines() throws IOException { List<String> lines = CharStreams.readLines(new StringReader("a\nb\nc")); assertEquals(ImmutableList.of("a", "b", "c"), lines); } public void testReadLines_withLineProcessor() throws IOException { String text = "a\nb\nc"; // Test a LineProcessor that always returns false. Reader r = new StringReader(text); LineProcessor<Integer> alwaysFalse =
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 11.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/CharStreamsTest.java
public void testReadLines() throws IOException { List<String> lines = CharStreams.readLines(new StringReader("a\nb\nc")); assertEquals(ImmutableList.of("a", "b", "c"), lines); } public void testReadLines_withLineProcessor() throws IOException { String text = "a\nb\nc"; // Test a LineProcessor that always returns false. Reader r = new StringReader(text); LineProcessor<Integer> alwaysFalse =
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 11.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/FilesTest.java
assertEquals(ImmutableList.of("hello", "", " world ", ""), Files.readLines(temp, UTF_8)); assertTrue(temp.delete()); } public void testReadLines_withLineProcessor() throws IOException { File temp = createTempFile(); LineProcessor<List<String>> collect = new LineProcessor<List<String>>() { List<String> collector = new ArrayList<>();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 22.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/FilesTest.java
assertEquals(ImmutableList.of("hello", "", " world ", ""), Files.readLines(temp, UTF_8)); assertTrue(temp.delete()); } public void testReadLines_withLineProcessor() throws IOException { File temp = createTempFile(); LineProcessor<List<String>> collect = new LineProcessor<List<String>>() { List<String> collector = new ArrayList<>();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 22.1K bytes - Viewed (0)