java.util.stream.Stream<T>
Behavioral parameters must be non-interfering
java.util.stream.Stream<T>
1TB @ 2018
5MB @ 1956
live demo
The best approach is to avoid stateful behavioral parameters to stream operations entirely; there is usually a way to restructure the stream pipeline to avoid statefulness.
I use Java Streams all the time...