Skip to content

[7.x] Add support of getting a Java stream on ImmutableOpenMap (#76921) #77455

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Sep 9, 2021

Conversation

arteam
Copy link
Contributor

@arteam arteam commented Sep 8, 2021

Backports #76921 to 7.x

ImmutableOpenMap doesn't support Java streams directly, so consumer have
to invoke StreamSupport.spliterator on it if they want to run a Java
stream over it. We can simplify consumer code by providing a direct
stream method in ImmutableOpenMap

…ic#76921)

Backports elastic#76921 to 7.x

`ImmutableOpenMap` doesn't support Java streams directly, so consumer have
to invoke `StreamSupport.spliterator` on it if they want to run a Java
stream over it. We can simplify consumer code by providing a direct
`stream` method in `ImmutableOpenMap`
…ic#76921)

`ImmutableOpenMap` doesn't support Java streams directly, so consumer have
to invoke `StreamSupport.spliterator` on it if they want to run a Java
stream over it. We can simplify consumer code by providing a direct
`stream` method in `ImmutableOpenMap`
@arteam arteam force-pushed the backport-add-stream-to-immutable-openmap branch from 47eed85 to 1f2ec4d Compare September 8, 2021 17:07
@arteam arteam merged commit fd0370d into elastic:7.x Sep 9, 2021
@arteam arteam deleted the backport-add-stream-to-immutable-openmap branch September 9, 2021 08:01
@arteam arteam restored the backport-add-stream-to-immutable-openmap branch September 29, 2021 19:41
@arteam arteam deleted the backport-add-stream-to-immutable-openmap branch October 22, 2021 09:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant