I have TreeMap which I need to convert to URI-like string and then back to Map. I need to set custom delimiters.
TreeMap
Is there any tool (Gu
its not guava or apache commons, and it is a loop, but aside from instantiating the string builder, it is a one liner:
for (Entry entry : myMap.entrySet()) { sb.append(entry.getKey() + separator + entry.getValue() + "\n"); }