Skip to content
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

Add peek method for SortingLongCollections #1733

Open
PramodRaoB opened this issue Dec 17, 2024 · 0 comments
Open

Add peek method for SortingLongCollections #1733

PramodRaoB opened this issue Dec 17, 2024 · 0 comments

Comments

@PramodRaoB
Copy link

Description of the issue:

Currently, the SortingLongCollection does not provide a method to peek the value of the top-most element. This makes it impossible to perform some processing on-top of such collections such as a k-way merge which require a non-destructive peek. Adding that feature should be trivial and not break existing code.

I could submit a quick PR if this feature is approved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant