Java Utililty Methods Map Replace

List of utility methods to do Map Replace

Description

The list of methods to do Map Replace are organized into topic(s).

Method

Stringunescape(String cooked, char escapeChar, Map replacements)
Unescape the String cooked .
if (cooked == null) {
    return null;
int length = cooked.length();
if (length <= 1) {
    return cooked;
StringBuilder result = null;
...
MapzipToMap(String[] searchStrings, String[] replacements)
zip To Map
Map<String, String> map = new HashMap<>();
for (int i = 0; i < searchStrings.length; ++i) {
    map.put(searchStrings[i], replacements[i]);
return map;