Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for splitToList (0.22 seconds)

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

       * it reaches the limit. The limit defines the maximum number of items returned by the iterator,
       * or the maximum size of the list returned by {@link #splitToList}.
       *
       * <p>For example, {@code Splitter.on(',').limit(3).split("a,b,c,d")} returns an iterable
       * containing {@code ["a", "b", "c,d"]}. When omitting empty strings, the omitted strings do not
    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. android/guava/src/com/google/common/base/Splitter.java

       * it reaches the limit. The limit defines the maximum number of items returned by the iterator,
       * or the maximum size of the list returned by {@link #splitToList}.
       *
       * <p>For example, {@code Splitter.on(',').limit(3).split("a,b,c,d")} returns an iterable
       * containing {@code ["a", "b", "c,d"]}. When omitting empty strings, the omitted strings do not
    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)
  3. guava-tests/test/com/google/common/base/SplitterTest.java

       * splitToString automatically.
       */
      public void testCharacterSimpleSplitToList() {
        String simple = "a,b,c";
        List<String> letters = COMMA_SPLITTER.splitToList(simple);
        assertThat(letters).containsExactly("a", "b", "c").inOrder();
      }
    
      public void testCharacterSimpleSplitToStream() {
        String simple = "a,b,c";
    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