Demonstrating Java Type Erasure

February 7, 2012

Type erasure is a term many people in the Java world do not know or understand. I think it is important to at least understand what it means…not the byte code behind it, but the semantics and its effect on your application. I’ve talked about this in other blog posts here, but today I figured […]

Comments Off

Java: Understanding Generics, Type Erasure, and Bridge Methods

June 24, 2011

Generics is one of the more prominent features from JDK 5 that allows you to basically specify the type as a parameter. For example, in JDK 1.4, a List was always a List of Objects. If you wanted to get something out of the list, you had to cast it. JDK 5 helped to resolve […]