Finding max or min of exactly two objects
Tagir Valeev
amaembo at gmail.com
Wed May 14 20:15:00 UTC 2025
Hello!
On Tue, May 13, 2025 at 5:53 PM Brian Goetz <brian.goetz at oracle.com> wrote:
> Let's separate these. I think the first two have a good claim to be in
> Comparator; I think the latter two probably live better in Comparable,
> which feels like a separate conversation (and maybe less important?)
> (And also, there's some overlap with some yet-uncollapsed stuff going on
> in Valhalla that I'd like to steer clear of.)
Agreed, let's concentrate on default methods first and see how it
goes. I've created
https://bugs.openjdk.org/browse/JDK-8356995
I've also found an older (declined) feature request
https://bugs.openjdk.org/browse/JDK-4254492
With best regards,
Tagir Valeev
More information about the core-libs-dev
mailing list