Skip to content

[7.x] Expose ImmutableOpenMap.values as a Java Collection (#78529) #78709

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 1 commit into from
Oct 5, 2021

Conversation

arteam
Copy link
Contributor

@arteam arteam commented Oct 5, 2021

Backports #78529 to 7.x

#76921 added support for getting entries as a Java stream, #77897 added the ability to get keys as a Set. This PR adds the values method which returns a Collection to bring the ImmutableOpenMap API closer to java.util.Map

@arteam arteam force-pushed the backport-expose-immutableopenmap-values branch 2 times, most recently from 6c8084e to d9783fd Compare October 5, 2021 16:09
elastic#76921 added support for getting entries as a Java stream, elastic#77897 added the ability to get keys as a Set. This PR adds the values method which returns a Collection to bring the ImmutableOpenMap API closer to java.util.Map

(cherry picked from commit cb73e3f)
@arteam arteam force-pushed the backport-expose-immutableopenmap-values branch from d9783fd to 9b6f449 Compare October 5, 2021 16:24
@arteam arteam changed the title Expose ImmutableOpenMap.values as a Java Collection (#78529) [7.x] Expose ImmutableOpenMap.values as a Java Collection (#78529) Oct 5, 2021
@arteam arteam merged commit 96fe440 into elastic:7.x Oct 5, 2021
@arteam arteam deleted the backport-expose-immutableopenmap-values branch October 5, 2021 17:24
@arteam arteam restored the backport-expose-immutableopenmap-values branch October 6, 2021 11:03
@arteam arteam deleted the backport-expose-immutableopenmap-values 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