Skip to content

Instantly share code, notes, and snippets.

@rnaufal
Created February 25, 2020 15:25
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save rnaufal/008e3fe2b338006c3ca2bce0025f76f7 to your computer and use it in GitHub Desktop.
StringUtils.defaultString(arg)
.chars()
.collect(CharSummaryStatistics::new,
CharSummaryStatistics::accept,
CharSummaryStatistics::combine);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment