Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for splitToStream (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

       * Iterator}, which may be lazily evaluated. If you want an eagerly computed {@link List}, use
       * {@link #splitToList(CharSequence)}. Java 8+ users may prefer {@link #splitToStream} instead.
       *
       * @param sequence the sequence of characters to split
       * @return an iteration over the segments split from the parameter
       */
      public Iterable<String> split(CharSequence sequence) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 23.8K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/base/SplitterTest.java

        assertThat(letters).containsExactly("a", "b", "c").inOrder();
      }
    
      public void testCharacterSimpleSplitToStream() {
        String simple = "a,b,c";
        List<String> letters = COMMA_SPLITTER.splitToStream(simple).collect(toImmutableList());
        assertThat(letters).containsExactly("a", "b", "c").inOrder();
      }
    
      public void testToString() {
        assertThat(COMMA_SPLITTER.split("").toString()).isEqualTo("[]");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 29.7K bytes
    - Click Count (0)
Back to Top