commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Benson (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LANG-588) Create a basic Pair<L, R> class
Date Sat, 20 Feb 2010 19:22:27 GMT

    [ https://issues.apache.org/jira/browse/LANG-588?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12836235#action_12836235
] 

Matt Benson commented on LANG-588:
----------------------------------

Okay, I know I said I was happy to bikeshed, but as it turns out I don't really feel that
happy.  ;)  We now have seemingly too many divergent suggestions to achieve consensus.  By
using interfaces we would also seem to give up a convenient place to keep our static factory
methods.  I will additionally note that I will make no argument against emulating the emerging
of() standard if indeed it is such (I'll take your word on this, Stephen).

> Create a basic Pair<L, R> class
> -------------------------------
>
>                 Key: LANG-588
>                 URL: https://issues.apache.org/jira/browse/LANG-588
>             Project: Commons Lang
>          Issue Type: New Feature
>          Components: lang.*
>            Reporter: Matt Benson
>             Fix For: 3.0
>
>         Attachments: Pair.java, PairTest.java
>
>
> [lang] is the perfect place to provide a basic typed Pair class.  I have written such
a class for my employer (who hasn't?) but can/will rewrite blind to avoid IP issues.  I think
it's also nice to go ahead and extend this to MatchedPair<T> extends Pair<T, T>
as well.

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