I can contribute http://www.osjava.org/genjava/multiproject/gj-core/xref/com/generationjava/util/Pair.html if you want to start from something different to help avoid IP issues.
It was written while reading a Lisp book years ago, thus some of the naming. Because I wasn't using it in anywhere production I didn't both sending in Lang's direction. Hen On Sat, Feb 6, 2010 at 12:45 PM, Matt Benson (JIRA) <[email protected]> wrote: > 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 > > > [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. > >
