Instead of shuffling our stream at the end in the collect() method, we can also shuffle it in stages using the new stream gatherers. This allows us to shuffle sections at a time and even support infinite streams.| www.javaspecialists.eu
This advanced Java newsletter will answer all your questions about Java ;-) We also offer Java courses, code reviews and consulting.| www.javaspecialists.eu