java.util.Pair

Remi Forax forax at univ-mlv.fr
Thu Jul 13 20:39:48 UTC 2017


Tuples are like an array of value types parameterized by a constant integer so it will be interesting to revisit this issue when we will have a clear idea about what value types are and how to parameterized a class.

cheers,
Rémi

----- Mail original -----
> De: "joe darcy" <joe.darcy at oracle.com>
> À: "Hohensee, Paul" <hohensee at amazon.com>, core-libs-dev at openjdk.java.net
> Envoyé: Jeudi 13 Juillet 2017 19:22:19
> Objet: Re: java.util.Pair

> Hi Paul,
> 
> See the discussion in thread:
> 
> http://mail.openjdk.java.net/pipermail/core-libs-dev/2010-March/003973.html
> http://mail.openjdk.java.net/pipermail/core-libs-dev/2010-April/thread.html
> 
> In short, no current plans to add java.util.Pair.
> 
> -Joe
> 
> 
> On 7/13/2017 10:07 AM, Hohensee, Paul wrote:
>> See the ancient https://bugs.openjdk.java.net/browse/JDK-4947273.
>>
>> At Amazon, many projects depend on JavaFX to get only a single class, namely
>> javafx.util.Pair. That means that we must distribute OpenJFX along with our
>> internal OpenJDK distribution, or split javafx.util.Pair out into a separate
>> package, both of which we’d like to avoid in the future. So, are there any
>> plans to add java.util.Pair to JDK10?
>>
>> Thanks,
>>
>> Paul


More information about the core-libs-dev mailing list