Return-Path: Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: (qmail 35594 invoked from network); 5 Nov 2010 16:59:44 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 5 Nov 2010 16:59:44 -0000 Received: (qmail 24500 invoked by uid 500); 5 Nov 2010 17:00:15 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 24435 invoked by uid 500); 5 Nov 2010 17:00:15 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 24354 invoked by uid 99); 5 Nov 2010 17:00:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Nov 2010 17:00:15 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Nov 2010 17:00:14 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oA5Gxq0n008665 for ; Fri, 5 Nov 2010 16:59:52 GMT Message-ID: <31662252.35881288976392854.JavaMail.jira@thor> Date: Fri, 5 Nov 2010 12:59:52 -0400 (EDT) From: "Luc Maisonobe (JIRA)" To: issues@commons.apache.org Subject: [jira] Commented: (MATH-432) Create a "Pair" class In-Reply-To: <2228938.29261288959583570.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ 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}} is only available in Java 1.6+. > I propose to create a class Pair 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.