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
If at least one of the following conditions are true:
the stream is unordered (e.g. the Stream::unordered has been called)
the terminal operation does not require the order to be preserved (for example forEach and min)
the stream is parallel and terminal operation does not require the order to be preserved for parallel streams
Then, the longest consecutive string of intermediate operations starting from the back that only affects the order of elements (i.e. Sorted) can be removed.
The text was updated successfully, but these errors were encountered:
If at least one of the following conditions are true:
Then, the longest consecutive string of intermediate operations starting from the back that only affects the order of elements (i.e. Sorted) can be removed.
The text was updated successfully, but these errors were encountered: