[jira] Commented: (MATH-432) Create a Pair class

2010-11-05 Thread Gilles (JIRA)
[ https://issues.apache.org/jira/browse/MATH-432?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12928667#action_12928667 ] Gilles commented on MATH-432: - In fact, it is the other way around, I didn't need Pair because I

[jira] Commented: (MATH-432) Create a Pair class

2010-11-05 Thread Luc Maisonobe (JIRA)
[ https://issues.apache.org/jira/browse/MATH-432?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12928684#action_12928684 ] Luc Maisonobe commented on MATH-432: Yes, immutable objects are always much safer.

[jira] Commented: (MATH-432) Create a Pair class

2010-11-05 Thread Gilles (JIRA)
[ https://issues.apache.org/jira/browse/MATH-432?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12928821#action_12928821 ] Gilles commented on MATH-432: - Since we don't make _copies_ of the key and value passed to the

[jira] Commented: (MATH-432) Create a Pair class

2010-11-05 Thread Sebb (JIRA)
[ https://issues.apache.org/jira/browse/MATH-432?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12928856#action_12928856 ] Sebb commented on MATH-432: --- A Pair implementation which has mutable fields won't be inherently

[jira] Commented: (MATH-432) Create a Pair class

2010-11-05 Thread Paul Benedict (JIRA)
[ https://issues.apache.org/jira/browse/MATH-432?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12928899#action_12928899 ] Paul Benedict commented on MATH-432: Commons Lang 3.0 includes a PairK,V class: