Category Archives: Generics

Generics and the mystical wildcard

This comes up a lot on the forums (or should that be fora?). “I’ve got a List<?>, why can’t I put an object of type X in it?” (for any type X). The problem here is that most people see … Continue reading

Posted in Generics, Java | 1 Comment