Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I'm not a Java person, but my understanding is that in Java everything is boxed anyway, so the implementation of the "generic" logic is always just dealing with a pointer-sized entity and it's a matter of whether the dereferenced object on the other end of that has the required fields/methods.




> Java everything is boxed anyway

Not true, there's int and Integer.


Right but you can’t use them as type arguments to Java’s generics so they’re not really relevant in this context.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: