Skip to content

Allow using Range with Comparator #2571

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

Closed
wants to merge 3 commits into from
Closed

Allow using Range with Comparator #2571

wants to merge 3 commits into from

Conversation

mp911de
Copy link
Member

@mp911de mp911de commented Mar 7, 2022

Remove Comparable requirement for general Range usage. Comparable is only required for the contains(…) check. Alternatively, accept a Comparator.

mp911de added 2 commits March 7, 2022 09:51
Remove Comparable requirement for general Range usage. Comparable is only required for the contains(…) check. Alternatively, accept a Comparator.
Refine contains(…) generics definition. Reuse comparator method for Comparable values.
@mp911de mp911de changed the base branch from 3.0.x to main March 23, 2022 10:23
@mp911de mp911de added type: enhancement A general enhancement and removed status: waiting-for-triage An issue we've not yet triaged labels Mar 28, 2022
@mp911de mp911de added this to the 3.0 M4 (2022.0.0) milestone Mar 28, 2022
@mp911de mp911de closed this in 21e4fd5 Mar 28, 2022
@mp911de mp911de deleted the issue/3.0.x/2571 branch March 28, 2022 13:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement A general enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants