- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for LineProcessor (0.06 sec)
-
android/guava-tests/test/com/google/common/io/CharStreamsTest.java
} 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 = new LineProcessor<Integer>() { int seen; @Override public boolean processLine(String line) { seen++;
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_withLineProcessor() throws IOException { String text = "a\nb\nc"; // Test a LineProcessor that always returns false. Reader r = new StringReader(text); LineProcessor<Integer> alwaysFalse = new LineProcessor<Integer>() { int seen; @Override public boolean processLine(String line) { seen++;
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/src/com/google/common/io/CharSource.java
throw closer.rethrow(e); } finally { closer.close(); } } /** * Reads lines of text from this source, processing each line as it is read using the given {@link * LineProcessor processor}. Stops when all lines have been processed or the processor returns * {@code false} and returns the result produced by the processor. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:20:11 UTC 2024 - 25.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CharSourceTest.java
} public void testReadLines_withProcessor() throws IOException { TestCharSource lines = new TestCharSource(LINES); List<String> list = lines.readLines( new LineProcessor<List<String>>() { List<String> list = Lists.newArrayList(); @Override public boolean processLine(String line) throws IOException { list.add(line);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:20:11 UTC 2024 - 11.4K bytes - Viewed (0)