Skip to content

Instantly share code, notes, and snippets.

@claudioaltamura
Created August 24, 2018 14:15
Show Gist options
  • Save claudioaltamura/b6a7e65e91ef1c91b7d108461bb409c1 to your computer and use it in GitHub Desktop.
Save claudioaltamura/b6a7e65e91ef1c91b7d108461bb409c1 to your computer and use it in GitHub Desktop.
Stringify a map example
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