问题:
This question already has an answer here: 这个问题在这里已有答案:
- A Java collection of value pairs? 价值对的Java集合? (tuples?) 19 answers (元组?) 19个答案
Am I remembering incorrectly, or did Java, once upon a time, provide a Pair class as part of its API? 我记得不正确,或曾经做过Java,曾经提供过Pair类作为其API的一部分?