問題:
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的一部分?