On 3/8/2019 3:47 PM, Lukas Eder wrote:
Hello,
I've recently learned about JDK 12's new String::transform method:
https://bugs.openjdk.java.net/browse/JDK-8203703
Obviously, this is useful. And obviously, this would be far more useful as
a general pattern than just something for String. E.g. why not also for any
Number subtype. For Boolean. For java.time types. Etc.
Yes, that's the plan -- to add this method more widely.
Yes, we could go bigger, and add the |> operator, but that's not in the
current plan.