Last active
October 24, 2019 16:48
-
-
Save orend/cd42e47d378cb8fe7334bc99e63fa7f8 to your computer and use it in GitHub Desktop.
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
Collections.list(new StringTokenizer(str, ",")).stream() | |
.map(token -> (String) token) | |
.collect(Collectors.toList()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment