Is there available a proven Java Pair class implementation?
I mean readily available, widely accepted and tested, maybe part of a more extensive library such as Apache Commons or Guava.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yes, have a look at Apache Commons
Pair.Use sparingly, if at all;
leftandrightdoesn’t really convey anything about the content or relation between the elements.(The
Pairclass was deliberately left out of the standard Java API.)