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

Up until the point you want to return an object from your container, sure. Then you have to return a Comparable and the user has to downcast it into the right object.

Plus, you pay the overhead of boxing.



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

Search: