commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] Commented: (MATH-432) Create a "Pair" class
Date Sat, 06 Nov 2010 11:06:42 GMT

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

Sebb commented on MATH-432:
---------------------------

True, but MATH does not depend on any other libraries at present.

The class is only needed for keeping track of items as part of the sort, so a simple immutable
local class seems the best approach.

> 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