[jira] [Created] (LANG-791) Introduce Triple/Triad (3-tuple) similar to Pair

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (LANG-791) Introduce Triple/Triad (3-tuple) similar to Pair

David Mollitor (Jira)
Introduce Triple/Triad (3-tuple) similar to Pair
------------------------------------------------

                 Key: LANG-791
                 URL: https://issues.apache.org/jira/browse/LANG-791
             Project: Commons Lang
          Issue Type: New Feature
          Components: lang.tuple.*
    Affects Versions: 3.1
            Reporter: Eugen Paraschiv
            Priority: Minor


It would be very useful to have a 3-tuple similar to the 2-tuple (Pair) that already exists.
The decision of choosing to use a Triple/Triad instead of an n-tuple would not be as straightforward as using a Pair, but a Triple is still a simple enough and very common use-case, and having the implementation as part of commons-lang should make sense.

--
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

       
Reply | Threaded
Open this post in threaded view
|

[jira] [Closed] (LANG-791) Introduce Triple/Triad (3-tuple) similar to Pair

David Mollitor (Jira)

     [ https://issues.apache.org/jira/browse/LANG-791?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Henri Yandell closed LANG-791.
------------------------------

    Resolution: Duplicate

https://svn.apache.org/repos/asf/commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/tuple/Triple.java :)
               

> Introduce Triple/Triad (3-tuple) similar to Pair
> ------------------------------------------------
>
>                 Key: LANG-791
>                 URL: https://issues.apache.org/jira/browse/LANG-791
>             Project: Commons Lang
>          Issue Type: New Feature
>          Components: lang.tuple.*
>    Affects Versions: 3.1
>            Reporter: Eugen Paraschiv
>            Priority: Minor
>
> It would be very useful to have a 3-tuple similar to the 2-tuple (Pair) that already exists.
> The decision of choosing to use a Triple/Triad instead of an n-tuple would not be as straightforward as using a Pair, but a Triple is still a simple enough and very common use-case, and having the implementation as part of commons-lang should make sense.

--
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