Skip to content

Allow using Range with Comparator - #2571

Closed
mp911de wants to merge 3 commits into
mainfrom
issue/3.0.x/2571
Closed

mp911de wants to merge 3 commits into
mainfrom
issue/3.0.x/2571

Conversation

@mp911de

@mp911de mp911de commented Mar 7, 2022

Copy link
Copy Markdown
Member

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