Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for splitSeq (0.16 sec)

  1. guava/src/com/google/common/base/Splitter.java

     *
     * <p><b>Warning:</b> Splitter instances are immutable. Invoking a configuration method has no
     * effect on the receiving instance; you must store and use the new splitter instance it returns
     * instead.
     *
     * <pre>{@code
     * // Do NOT do this
     * Splitter splitter = Splitter.on('/');
     * splitter.trimResults(); // does nothing!
     * return splitter.split("wrong / wrong / wrong");
     * }</pre>
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 21:14:05 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/SplitterTest.java

        assertThat(letters).containsExactly("a", "b", "c").inOrder();
      }
    
      @GwtIncompatible // Splitter.onPattern
      public void testPatternSimpleSplitWithNoDelimiter() {
        String simple = "a,b,c";
        Iterable<String> letters = Splitter.onPattern("foo").split(simple);
        assertThat(letters).containsExactly("a,b,c").inOrder();
      }
    
      @GwtIncompatible // Splitter.onPattern
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 29.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java

      }
    
      private void doExtensiveTest(String resourceName) throws IOException {
        Splitter splitter = Splitter.on(CharMatcher.whitespace());
        URL url = getClass().getResource(resourceName);
        for (String line : Resources.readLines(url, UTF_8)) {
          Iterator<String> iterator = splitter.split(line).iterator();
          String input = iterator.next();
          String expectedOutput = iterator.next();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java

      }
    
      private void doExtensiveTest(String resourceName) throws IOException {
        Splitter splitter = Splitter.on(CharMatcher.whitespace());
        URL url = getClass().getResource(resourceName);
        for (String line : Resources.readLines(url, UTF_8)) {
          Iterator<String> iterator = splitter.split(line).iterator();
          String input = iterator.next();
          String expectedOutput = iterator.next();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  5. internal/s3select/json/preader.go

    // Operates concurrently on line-delimited JSON.
    type PReader struct {
    	args        *ReaderArgs
    	readCloser  io.ReadCloser   // raw input
    	buf         *bufio.Reader   // input to the splitter
    	current     []jstream.KVS   // current block of results to be returned
    	recordsRead int             // number of records read in current slice
    	input       chan *queueItem // input for workers
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

              .put(UUID.class, UUID.randomUUID())
              // common.base
              .put(CharMatcher.class, CharMatcher.none())
              .put(Joiner.class, Joiner.on(','))
              .put(Splitter.class, Splitter.on(','))
              .put(com.google.common.base.Optional.class, com.google.common.base.Optional.absent())
              .put(Predicate.class, Predicates.alwaysTrue())
              .put(Equivalence.class, Equivalence.equals())
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/BaseEncodingTest.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.base.Ascii;
    import com.google.common.base.Joiner;
    import com.google.common.base.Splitter;
    import com.google.common.collect.ImmutableList;
    import com.google.common.io.BaseEncoding.DecodingException;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.io.Reader;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 16:27:30 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/BaseEncodingTest.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.base.Ascii;
    import com.google.common.base.Joiner;
    import com.google.common.base.Splitter;
    import com.google.common.collect.ImmutableList;
    import com.google.common.io.BaseEncoding.DecodingException;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.io.Reader;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 16:27:30 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/io/CharSource.java

          return CharSource.this.toString() + ".asByteSource(" + charset + ")";
        }
      }
    
      private static class CharSequenceCharSource extends CharSource {
    
        private static final Splitter LINE_SPLITTER = Splitter.onPattern("\r\n|\n|\r");
    
        protected final CharSequence seq;
    
        protected CharSequenceCharSource(CharSequence seq) {
          this.seq = checkNotNull(seq);
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

              .put(UUID.class, UUID.randomUUID())
              // common.base
              .put(CharMatcher.class, CharMatcher.none())
              .put(Joiner.class, Joiner.on(','))
              .put(Splitter.class, Splitter.on(','))
              .put(com.google.common.base.Optional.class, com.google.common.base.Optional.absent())
              .put(Predicate.class, Predicates.alwaysTrue())
              .put(Equivalence.class, Equivalence.equals())
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 21.2K bytes
    - Viewed (0)
Back to top