List of utility methods to do Map Replace
String | unescape(String cooked, char escapeChar, Map Unescape the String cooked . if (cooked == null) { return null; int length = cooked.length(); if (length <= 1) { return cooked; StringBuilder result = null; ... |
Map | zipToMap(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; |