Java Generics - 1. Introduction
This is part 1 of the 9 part series on Java Generics If someone asks me - what are the best features of Java programming since the release of 1.5? I will vouch for two of them - Generics and Annotations . What makes Generics so special is the compile time checking of a type, the restrictions on the usage of a class it provides and simply its elegance. What amazes me however, is that the programmers rarely use the full power of Generics that Java programming language provides. So I thought of writing down a series of blogs that can be used by the programmers to understand and use them. There are a series of 9 blogs on the topic. They were too large to be adjusted into just one. So, just like in programming, I decided to 'divide and conquer'. Topics 1. Introduction 2. Bounding 3. Multiple bounding 4. Generic Methods 5. Wildcards 6. Typed Classes as method parameters 7. Upper and Lower Bounds 8. Target Types 9. Type Erasure Next Topic ...
Comments
Post a Comment