hohensee at amazon.com
Thu Jul 13 18:25:51 UTC 2017
That’s a possibility. We could recommend that as an alternative.
On 7/13/17, 10:29 AM, "Maurizio Cimadamore" <maurizio.cimadamore at oracle.com> wrote:
Maybe automatic refactoring to Map.Entry ? With the new static method
added in 9, creating one is also very fluent (but I know that Entry
doesn't convey same meaning as Pair in method signatures/fields)
On 13/07/17 18:22, joe darcy wrote:
> Hi Paul,
> See the discussion in thread:
> In short, no current plans to add java.util.Pair.
> 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?
More information about the core-libs-dev