commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gilles (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MATH-810) Adding accessors to the "Pair" class (package "o.a.c.m.util")
Date Mon, 02 Jul 2012 12:46:21 GMT
Gilles created MATH-810:
---------------------------

             Summary: Adding accessors to the "Pair" class (package "o.a.c.m.util")
                 Key: MATH-810
                 URL: https://issues.apache.org/jira/browse/MATH-810
             Project: Commons Math
          Issue Type: Wish
            Reporter: Gilles
            Priority: Trivial
             Fix For: 3.1


I propose to add two accessors:
{code}
public K getFirst() {
  return getKey();
}
{code}
and
{code}
public V getSecond() {
  return getValue();
}
{code}



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message