Why doesn’t jdk21 provide classes such as Tuple2?
when I wrote a method that needed return 2 parameters,I found that there was no proper jdk class to use.
I wonder why jdk21 doesn’t provide a class like Tuple2?
I was found javafx.util.Pair at jdk8, but it can’t be used in my IDEA.