Skip to content

Instantly share code, notes, and snippets.

@iyengarajay
Created May 20, 2016 14:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iyengarajay/dc181c00d7c1cab25a78dccd9650eb4d to your computer and use it in GitHub Desktop.
Save iyengarajay/dc181c00d7c1cab25a78dccd9650eb4d to your computer and use it in GitHub Desktop.
return strings.stream()
.collect(Collectors.groupingBy(String::length)));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment