Will Scala's parallel collections guarantee ordering?

Viewed 2123

If I have this:

val a = Array(...)

and I write

a.par.map(e => someFunc(e))

Will the resulting collection be in the same order as the non-parallel collection?

2 Answers
Related