@Test public void testParseListInMap() { Map<String, List<String>> listInMap = underTest.parseListInMap("K1:v1,v2;K2:v3,v4"); List<String> valueList1 = listInMap.get("K1"); List<String> valueList2 = listInMap.get("K2"); assertNotNull(valueList1); assertNotNull(valueList2); assertEquals("v1", valueList1.get(0)); assertEquals("v2", valueList1.get(1)); assertEquals("v3", valueList2.get(0)); assertEquals("v4", valueList2.get(1)); }
public Map<String, List<String>> parseListInMap(String listInMapStr) { return parseListInMap(listInMapStr, ";", ":", ","); }
PropertiesSplitter { public Map<String, List<String>> parseListInMap(String listInMapStr) { return parseListInMap(listInMapStr, ";", ":", ","); } }
PropertiesSplitter { public Map<String, List<String>> parseListInMap(String listInMapStr) { return parseListInMap(listInMapStr, ";", ":", ","); }  }
PropertiesSplitter { public Map<String, List<String>> parseListInMap(String listInMapStr) { return parseListInMap(listInMapStr, ";", ":", ","); }  List<String> parseList(String listStr); Map<String, String> parseMap(String mapStr); Map<String, String> parseMap(String mapStr, String separator, String keyValueSeparator); Map<String, Map<String, String>> parseMapInMap(String mapInMapStr); Map<String, List<String>> parseListInMap(String listInMapStr); Map<String, List<String>> parseListInMap(String listInMapStr, String mapSeparator, String keyValueSeparator, String listSeparator); }
PropertiesSplitter { public Map<String, List<String>> parseListInMap(String listInMapStr) { return parseListInMap(listInMapStr, ";", ":", ","); }  List<String> parseList(String listStr); Map<String, String> parseMap(String mapStr); Map<String, String> parseMap(String mapStr, String separator, String keyValueSeparator); Map<String, Map<String, String>> parseMapInMap(String mapInMapStr); Map<String, List<String>> parseListInMap(String listInMapStr); Map<String, List<String>> parseListInMap(String listInMapStr, String mapSeparator, String keyValueSeparator, String listSeparator);  }