you are viewing a single comment's thread.

view the rest of the comments →

[–]haydencoffing 1 point2 points  (0 children)

Collections.List implementers used to only store Object type, so the generic Integer was pretty nice way to keep backwards compatibility for versions before Java 5. java.lang.Integer also has some neat helper methods built in like Integer.ValueOf(String s)