-
-
Save claudioaltamura/b6a7e65e91ef1c91b7d108461bb409c1 to your computer and use it in GitHub Desktop.
Stringify a map example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
String stringifiedMap = | |
map | |
.entrySet() | |
.stream() | |
.map(i -> i.getKey() + "=" + i.getValue()) | |
.collect(Collectors.joining("&")); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment