On Fri, 19 Apr 2024 15:39:12 GMT, Evemose wrote:
>> **Subject**
>> Addition of Predicate-based `indexOf` and `lastIndexOf` methods to
>> `java.util.List`
>>
>> **Motivation**
>> The motivation behind this proposal is to enhance the functionality of the
>> `List` interface by providing a more
On Fri, 19 Apr 2024 14:11:20 GMT, Roger Riggs wrote:
>> Evemose has updated the pull request incrementally with one additional
>> commit since the last revision:
>>
>> Update Vector.java
>
> Please revert the formatting as soon as possible; its noise as far as
> reviewers are concerned.
>
> **Subject**
> Addition of Predicate-based `indexOf` and `lastIndexOf` methods to
> `java.util.List`
>
> **Motivation**
> The motivation behind this proposal is to enhance the functionality of the
> `List` interface by providing a more flexible way to find the index of an
> element.
> **Subject**
> Addition of Predicate-based `indexOf` and `lastIndexOf` methods to
> `java.util.List`
>
> **Motivation**
> The motivation behind this proposal is to enhance the functionality of the
> `List` interface by providing a more flexible way to find the index of an
> element.
On Fri, 19 Apr 2024 12:59:24 GMT, Evemose wrote:
>> **Subject**
>> Addition of Predicate-based `indexOf` and `lastIndexOf` methods to
>> `java.util.List`
>>
>> **Motivation**
>> The motivation behind this proposal is to enhance the functionality of the
>> `List` interface by providing a more
> **Subject**
> Addition of Predicate-based `indexOf` and `lastIndexOf` methods to
> `java.util.List`
>
> **Motivation**
> The motivation behind this proposal is to enhance the functionality of the
> `List` interface by providing a more flexible way to find the index of an
> element.
On Fri, 19 Apr 2024 12:47:12 GMT, Evemose wrote:
>> **Subject**
>> Addition of Predicate-based `indexOf` and `lastIndexOf` methods to
>> `java.util.List`
>>
>> **Motivation**
>> The motivation behind this proposal is to enhance the functionality of the
>> `List` interface by providing a more
> **Subject**
> Addition of Predicate-based `indexOf` and `lastIndexOf` methods to
> `java.util.List`
>
> **Motivation**
> The motivation behind this proposal is to enhance the functionality of the
> `List` interface by providing a more flexible way to find the index of an
> element.
On Fri, 19 Apr 2024 12:10:34 GMT, Chen Liang wrote:
>> @minborg Sorry to bother you with this kind of question, but i cant manage
>> to find where exactly and how I can file CSR review request. Could you help
>> me out?
>
> @Evemose Please revert formatting changes in existing classes.
> **Subject**
> Addition of Predicate-based `indexOf` and `lastIndexOf` methods to
> `java.util.List`
>
> **Motivation**
> The motivation behind this proposal is to enhance the functionality of the
> `List` interface by providing a more flexible way to find the index of an
> element.
On Fri, 19 Apr 2024 11:33:59 GMT, Evemose wrote:
> but i cant manage to find where exactly and how I can file CSR review
> request. Could you help me out?
I think you can ignore CSR for now, the first step when proposing an API in
this area is to start a discussion on core-libs-dev to make
> **Subject**
> Addition of Predicate-based `indexOf` and `lastIndexOf` methods to
> `java.util.List`
>
> **Motivation**
> The motivation behind this proposal is to enhance the functionality of the
> `List` interface by providing a more flexible way to find the index of an
> element.
On Fri, 19 Apr 2024 11:33:59 GMT, Evemose wrote:
>> Adding (default) methods to `List` would have significant compatibility
>> ramifications. Also, the PR needs to contain significant testing of the new
>> proposed methods.
>
> @minborg Sorry to bother you with this kind of question, but i
> **Subject**
> Addition of Predicate-based `indexOf` and `lastIndexOf` methods to
> `java.util.List`
>
> **Motivation**
> The motivation behind this proposal is to enhance the functionality of the
> `List` interface by providing a more flexible way to find the index of an
> element.
> **Subject**
> Addition of Predicate-based `indexOf` and `lastIndexOf` methods to
> `java.util.List`
>
> **Motivation**
> The motivation behind this proposal is to enhance the functionality of the
> `List` interface by providing a more flexible way to find the index of an
> element.
> **Subject**
> Addition of Predicate-based `indexOf` and `lastIndexOf` methods to
> `java.util.List`
>
> **Motivation**
> The motivation behind this proposal is to enhance the functionality of the
> `List` interface by providing a more flexible way to find the index of an
> element.
On Fri, 19 Apr 2024 11:33:59 GMT, Evemose wrote:
>> Adding (default) methods to `List` would have significant compatibility
>> ramifications. Also, the PR needs to contain significant testing of the new
>> proposed methods.
>
> @minborg Sorry to bother you with this kind of question, but i
On Fri, 19 Apr 2024 09:39:40 GMT, Per Minborg wrote:
>> Evemose has updated the pull request incrementally with one additional
>> commit since the last revision:
>>
>> empty commit to trigger check rerun
>
> Adding (default) methods to `List` would have significant compatibility
>
On Thu, 18 Apr 2024 22:21:11 GMT, Evemose wrote:
>> **Subject**
>> Addition of Predicate-based `indexOf` and `lastIndexOf` methods to
>> `java.util.List`
>>
>> **Motivation**
>> The motivation behind this proposal is to enhance the functionality of the
>> `List` interface by providing a more
> **Subject**
> Addition of Predicate-based `indexOf` and `lastIndexOf` methods to
> `java.util.List`
>
> **Motivation**
> The motivation behind this proposal is to enhance the functionality of the
> `List` interface by providing a more flexible way to find the index of an
> element.
On Tue, 9 Apr 2024 22:02:56 GMT, xxDark wrote:
> This does not solve the problem though. Source compatibility would still be
> broken as one would still need to add casts everywhere, or am I
> misinterpreting something?
The code you have provided in example is still valid and non-ambigous,
On Wed, 10 Apr 2024 11:20:32 GMT, xxDark wrote:
> Should be `findIndex`? Similarly with `findLastIndex`.
Yeah i guess IDE didnt do a great job with refactor. I will review aall changes
manually a bit later
-
PR Review Comment:
On Tue, 9 Apr 2024 20:48:19 GMT, Chen Liang wrote:
> A few remarks:
>
> 1. The concern on `indexOf(Object)` and `indexOf(Predicate)` is valid;
> `Optional` has `orElse` vs. `orElseGet` to avoid these clashes. The behavior
> change of `indexOf(null)` is a source incompatibility.
> 2. Have you
On Tue, 9 Apr 2024 21:48:23 GMT, Evemose wrote:
> One possible workaround is to temporally (for an intermidiate period) or
> permanently delegate null value handing to indexOf(Object), which seems odd
> for me to me tbh, although it preserves source compatibility.
This does not solve the
On Fri, 5 Apr 2024 00:00:58 GMT, Evemose wrote:
> **Subject**
> Addition of Predicate-based `indexOf` and `lastIndexOf` methods to
> `java.util.List`
>
> **Motivation**
> The motivation behind this proposal is to enhance the functionality of the
> `List` interface by providing a more flexible
On Mon, 8 Apr 2024 03:57:33 GMT, ExE Boss wrote:
>> **Subject**
>> Addition of Predicate-based `indexOf` and `lastIndexOf` methods to
>> `java.util.List`
>>
>> **Motivation**
>> The motivation behind this proposal is to enhance the functionality of the
>> `List` interface by providing a more
On Fri, 5 Apr 2024 00:31:22 GMT, Evemose wrote:
>> **Subject**
>> Addition of Predicate-based `indexOf` and `lastIndexOf` methods to
>> `java.util.List`
>>
>> **Motivation**
>> The motivation behind this proposal is to enhance the functionality of the
>> `List` interface by providing a more
On Fri, 5 Apr 2024 00:00:58 GMT, Evemose wrote:
> **Subject**
> Addition of Predicate-based `indexOf` and `lastIndexOf` methods to
> `java.util.List`
>
> **Motivation**
> The motivation behind this proposal is to enhance the functionality of the
> `List` interface by providing a more flexible
**Subject**
Addition of Predicate-based `indexOf` and `lastIndexOf` methods to
`java.util.List`
**Motivation**
The motivation behind this proposal is to enhance the functionality of the
`List` interface by providing a more flexible way to find the index of an
element. Currently, the `indexOf`
On Fri, 5 Apr 2024 00:00:58 GMT, Evemose wrote:
> **Subject**
> Addition of Predicate-based `indexOf` and `lastIndexOf` methods to
> `java.util.List`
>
> **Motivation**
> The motivation behind this proposal is to enhance the functionality of the
> `List` interface by providing a more flexible
On Fri, 5 Apr 2024 00:00:58 GMT, Evemose wrote:
> **Subject**
> Addition of Predicate-based `indexOf` and `lastIndexOf` methods to
> `java.util.List`
>
> **Motivation**
> The motivation behind this proposal is to enhance the functionality of the
> `List` interface by providing a more flexible
On Fri, 5 Apr 2024 00:31:22 GMT, Evemose wrote:
>> **Subject**
>> Addition of Predicate-based `indexOf` and `lastIndexOf` methods to
>> `java.util.List`
>>
>> **Motivation**
>> The motivation behind this proposal is to enhance the functionality of the
>> `List` interface by providing a more
32 matches
Mail list logo