Y
Hacker News
new
|
ask
|
show
|
jobs
by
ootachi
5190 days ago
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.