What is the best method of splitting a String into a Stream?
I saw these variations:
Arrays.stream(\"b,l,a\".split(\",\"))
Regarding (1) and (2) there shouldn't be much difference, as your code is almost the same. Regarding (3), that would be much more effective it terms of memory (not necessarily CPU), but in my opinion, a bit harder to read.