commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luc Maisonobe (JIRA)" <j...@apache.org>
Subject [jira] Commented: (MATH-432) Create a "Pair" class
Date Fri, 05 Nov 2010 16:59:52 GMT

    [ https://issues.apache.org/jira/browse/MATH-432?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12928684#action_12928684
] 

Luc Maisonobe commented on MATH-432:
------------------------------------

Yes, immutable objects are always much safer.

> Create a "Pair" class
> ---------------------
>
>                 Key: MATH-432
>                 URL: https://issues.apache.org/jira/browse/MATH-432
>             Project: Commons Math
>          Issue Type: New Feature
>            Reporter: Gilles
>            Assignee: Gilles
>             Fix For: 3.0
>
>
> The {{AbstractMap.SimpleEntry}} implementation of {{Map.Entry<K,V>}} is only available
in Java 1.6+.
> I propose to create a class Pair<K,V> to be used as a replacement.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message