2 ms·
C# accomplishes this with structs: http://weblogs.asp.net/dixin/archive/2007/12/20/understanding-net-primitive-types.aspx http://weblogs.asp.net/dixin/archive/
by j_baker 15y ago
C# accomplishes this with structs: http://weblogs.asp.net/dixin/archive/2007/12/20/understanding-net-primitive-types.aspx http://weblogs.asp.net/dixin/archive/2007/12/20/understandin...
Such a thing could be done in Java if Oracle added structs. They're basically just "unboxed objects". I believe there's more to it than that, but that's the basic idea.