have a string like A=B&C=D&E=F, how to parse it into map?
just use guava Splitter
String src="A=B&C=D&E=F"; Map map= Splitter.on('&').withKeyValueSeparator('=').split(src);