brucechapman at paradise.net.nz
Tue Mar 30 02:03:44 PDT 2010
Weijun Wang wrote:
> Hi All
> There are multiple CRs asking for a java.util.Pair class:
> I know such a simple thing can be made very complex and everyone might want to add a new method into it. How about we just make it most primitive? Simply an immutable and Serializable class, two final fields, one constructor, two getters (?), and no static factory methods. (S)he who does the real implementation has the privilege to choose between head/tail and car/cdr.
or first/second or left/right or a/b or foo/bar or chalk/cheese
More information about the core-libs-dev