Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for LineProcessor (0.07 sec)

  1. 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)
  2. 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)
Back to top