Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for splitToList (0.16 sec)

  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
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 24.4K bytes
    - Viewed (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
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.7K bytes
    - Viewed (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";
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 29.8K bytes
    - Viewed (0)
  4. android/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 testToString() {
        assertEquals("[]", COMMA_SPLITTER.split("").toString());
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 29.5K bytes
    - Viewed (0)
Back to top