src/main/java/wycc/util/OptArg.java
private static Map<String, Object> splitConfig(String str) {
		HashMap<String, Object> options = new HashMap<>();
		String[] splits = str.split(",");
		for (String s : splits) {
			String[] p = s.split("=");
			options.put(p[0], parseValue(p[1]));
		}
		return options;
	}
private static Map<String, Object> splitConfig(String str) {
		HashMap<String, Object> options = new HashMap<>();
		String[] splits = str.split(",");
		for (String s : splits) {
			String[] p = s.split("=");
			options.put(p[0], parseValue(p[1]));
		}
		return options;
	}
private static Map < String , Object > splitConfig ( String str ) { HashMap < String , Object > options = new HashMap <> ( ) ; String [ ] splits = str . split ( "," ) ; for ( String s : splits ) { String [ ] p = s . split ( "=" ) ; options . put ( p [ 0 ] , parseValue ( p [ 1 ] ) ) ; } return options ; }
This splits strings of the form "x=y,v=w" into distinct components and
puts them into a map. In the case of a string like "x,y=z" then x is
loaded with the empty string.

@param str
@return
This splits strings of the form x = y v = w into distinct components and puts them into a map . In the case of a string like x y = z then x is loaded with the empty string .