maurizio.cimadamore at oracle.com
Thu Jul 13 17:29:38 UTC 2017
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