private void collectionParallelStream(){
  Stream<Trade> parallelStreams=trades.parallelStream();
  parallelStreams.forEach(null);
}

private void collectionParallelStream ( ) { Stream < Trade > parallelStreams = trades . parallelStream ( ) ; parallelStreams . forEach ( null ) ; }
we can also invoke parallelstream on a collection to fetch the stream
