Skip to main content

Blog Archive for hellofadude during June 2014

Java's generics is implemented using erasure which is a mechanism that removes specific type information within the body of a generic class or method. Essentially, when you instantiate a generic class with an actual type, the syntax within the generic class would suggest that every occurrence of the type parameter within the body of the generic class is substituted by the actual type. This is...