M
marcwentink
I am reading some information on generic (typed) collections and own
created generic classes in Java 5. I have understood that in the new
typed collections, the 'type' is only a compile time feature, it is
stripped from the collections like ArrayList in the intermediate code.
But if I generate my of generic typed class, is this information
stripped aswell, or is the first only something special for
collections to make them work with Java 4 'Object type' collections?
Marc Wentink
created generic classes in Java 5. I have understood that in the new
typed collections, the 'type' is only a compile time feature, it is
stripped from the collections like ArrayList in the intermediate code.
But if I generate my of generic typed class, is this information
stripped aswell, or is the first only something special for
collections to make them work with Java 4 'Object type' collections?
Marc Wentink