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

Sort/Merge process that removes duplicates #9

Open
tjoneslo opened this issue Sep 3, 2013 · 4 comments
Open

Sort/Merge process that removes duplicates #9

tjoneslo opened this issue Sep 3, 2013 · 4 comments

Comments

@tjoneslo
Copy link

tjoneslo commented Sep 3, 2013

I would like a way to enhance the sort or merge process that allows removing duplicate values from the input.

For example, if my input is: a, b, c, b, a the output would be a, b, c

Currently the Merger constructor is too deep in the Sorter code to easily override the creation process and make my own Merger subclass.

@cowtowncoder
Copy link
Owner

Sounds like a good idea yes.

@cowtowncoder
Copy link
Owner

Not implemented yet, but hoping to do this after 1.0 release.

@jjYBdx4IL
Copy link

I probably need something similar to that soon. It would be great if the suppliable Comparator would be more generic and allow for merging/updating/removing the passed-in objects.

@cowtowncoder
Copy link
Owner

@jjYBdx4IL That wouldn't quite work via basic Comparor API would it? Nothing against possibly extending Comparator, taking sub-class. Or perhaps just creating a different interface for API.

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

3 participants