[
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
[
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.
[
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
[
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
[
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: