isParallel of sequential representation of parallel Stream

elena votchennikova elena.votchennikova at oracle.com
Thu Nov 29 07:45:39 PST 2012


Hi,

method isParallel() returns true, if I call it from sequential 
representation of parallel Stream.

For example,
Arrays.parallel(new Object[]{1, 2, 3}).sequential().isParallel()

returns true.
I think it should return false, isn't it?



Best regards,
Lena


More information about the lambda-dev mailing list