Generics in java
Motivation behind Generics-Dealing with casting of objects
The Generics Facility
Creating a Generic class
Writing a Generic Method
Naming convention in generics
Generics are syntactic sugar - Type Erasure with Generics
Advantage of Generics
Subtyping a generic type
Wildcards in Generics
Generics classes in java vs templates in c++
Some mistakes to be avoided with generics:
Beginner's mistake of using Object as type parameter to make method generic
Generic methods: How generic are generic method?
Wildcards in Generics
Bounded parametric types
Covariance, contravariance, invariance
Upper bound boundedness in generics
Lower bound boundedness in generics
Multiple bounds in generics
Get and Set principle in generics
Restrictions on wildcards in generics
Expressing dependencies in type parameters : Wildcards vs type parameters
Class objects as type literals
Generic types are not covariant
Type erasure in generics
Making return type of method as generic
Covariant parameter types
Motivation behind Generics-Dealing with casting of objects
The Generics Facility
Creating a Generic class
Writing a Generic Method
Naming convention in generics
Generics are syntactic sugar - Type Erasure with Generics
Advantage of Generics
Subtyping a generic type
Wildcards in Generics
Generics classes in java vs templates in c++
Some mistakes to be avoided with generics:
Beginner's mistake of using Object as type parameter to make method generic
Generic methods: How generic are generic method?
Wildcards in Generics
Bounded parametric types
Covariance, contravariance, invariance
Upper bound boundedness in generics
Lower bound boundedness in generics
Multiple bounds in generics
Get and Set principle in generics
Restrictions on wildcards in generics
Expressing dependencies in type parameters : Wildcards vs type parameters
Class objects as type literals
Generic types are not covariant
Type erasure in generics
Making return type of method as generic
Covariant parameter types
No comments:
Post a Comment