Wednesday, December 19, 2007

Java Generics

My surprise at not being able to bind a table to a List<Weekend> in NetBeans is not at all surprising when I remember that Java Generics are really just compiler notes, not actual generic types. An ArrayList<String> is exactly the same type as an ArrayList<Weekend>.

No comments: