You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Spliterator already guarantees thread-safe advancement of the underlying Iterator :
Despite their obvious utility in parallel algorithms, spliterators are not expected to be thread-safe; instead, implementations of parallel algorithms using spliterators should ensure that the spliterator is only used by one thread at a time.
We thus do not need to explicitly synchronize
The text was updated successfully, but these errors were encountered:
Spliterator
already guarantees thread-safe advancement of the underlyingIterator
:We thus do not need to explicitly synchronize
The text was updated successfully, but these errors were encountered: