Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testMapSplitter_trimmedEntries (0.12 seconds)

  1. guava-tests/test/com/google/common/base/SplitterTest.java

        assertThat(m).isEqualTo(expected);
        assertThat(m.entrySet()).containsExactlyElementsIn(expected.entrySet()).inOrder();
      }
    
      public void testMapSplitter_trimmedEntries() {
        Map<String, String> m =
            COMMA_SPLITTER
                .trimResults()
                .withKeyValueSeparator(":")
                .split("boy  : tom , girl: tina , cat  : kitty , dog: tommy ");
    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