Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for Raines (0.29 sec)

  1. guava-tests/test/com/google/common/io/CharSourceTester.java

        }
        reader.close();
        writer.close();
    
        assertExpectedString(writer.toString());
      }
    
      public void testLines() throws IOException {
        try (Stream<String> lines = source.lines()) {
          assertExpectedLines(lines.collect(toImmutableList()));
        }
      }
    
      public void testCopyTo_appendable() throws IOException {
        StringBuilder builder = new StringBuilder();
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 7.3K bytes
    - Viewed (0)
  2. maven-core/src/test/java/org/apache/maven/artifact/handler/ArtifactHandlerTest.java

        PlexusContainer container;
    
        @Test
        void testAptConsistency() throws Exception {
            File apt = getTestFile("src/site/apt/artifact-handlers.apt");
    
            List<String> lines = Files.readAllLines(apt.toPath());
    
            for (String line : lines) {
                if (line.startsWith("||")) {
                    String[] cols = line.split("\\|\\|");
                    String[] expected = new String[] {
                        "",
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Dec 14 10:51:16 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/LineProcessor.java

       */
      @CanIgnoreReturnValue // some uses know that their processor never returns false
      boolean processLine(String line) throws IOException;
    
      /** Return the result of processing all the lines. */
      @ParametricNullness
      T getResult();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/CharSinkTester.java

        }
        return stringSuite;
      }
    
      private final ImmutableList<String> lines;
      private final ImmutableList<String> expectedLines;
    
      private CharSink sink;
    
      public CharSinkTester(
          CharSinkFactory factory, String string, String suiteName, String caseDesc, Method method) {
        super(factory, string, suiteName, caseDesc, method);
        this.lines = getLines(string);
        this.expectedLines = getLines(expected);
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 4.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/LineReader.java

      private final char[] buf = cbuf.array();
    
      private final Queue<String> lines = new ArrayDeque<>();
      private final LineBuffer lineBuf =
          new LineBuffer() {
            @Override
            protected void handleLine(String line, String end) {
              lines.add(line);
            }
          };
    
      /** Creates a new instance that will read lines from the given {@code Readable} object. */
      public LineReader(Readable readable) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/CharSink.java

        writeLines(lines, System.getProperty("line.separator"));
      }
    
      /**
       * Writes the given lines of text to this sink with each line (including the last) terminated with
       * the given line separator.
       *
       * @throws IOException if an I/O error occurs while writing to this sink
       */
      public void writeLines(Iterable<? extends CharSequence> lines, String lineSeparator)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/util/ParameterUtil.java

                final PrimaryCipher cipher = ComponentUtil.getPrimaryCipher();
                final String[] lines = value.split("[\r\n]");
                for (final String line : lines) {
                    if (StringUtil.isNotBlank(line)) {
                        final int pos = line.indexOf('=');
                        if (pos == 0) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 6.5K bytes
    - Viewed (0)
Back to top