While doing some functional programming in Java 8, I needed a tuple like in any functional programming languages, but then I figured out that the language designer might be solving the need for Tuple by making the Bifunction
.
If you need a function that's taking 2 parameters you have to use Bifunction not Function, but I could not find any Documentation about this, is Java 8 really missing Tuples, or Bifunction can replace it's use?
Edit 1:
this question not as "Does Java SE 8 have Pairs or Tuples?" as the majority here is Bifunction which is not mentioned in the other question, I think question title now is more descriptive.