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

I should have written ArrayList#get. It's possible to write a class that implements List<String> in a typesafe way, but callers using the standard List interface receive an Object and have to downcast.


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

Search: