Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Map<String, Integer> salary = Maps.newHashMap();
- salary.put("John", 1000);
- salary.put("Jane", 1500);
- String result = Joiner.on(" , ").withKeyValueSeparator(" = ")
- .join(salary);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement