Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for (Entry<String, String> e1 : map2.entrySet()) {
- String s = e1.getValue();
- for (Entry<String, Integer> e2 : map1.entrySet()) {
- s = s.replace(e2.getKey(), e2.getValue().toString());
- }
- map2.put(e1.getKey(), s);
- }
Add Comment
Please, Sign In to add comment