Java Generics
-
Core Java

Java Generics “capture of ?” Example
Java generics introduced type parameters to provide compile-time type safety. Wildcards such as ? are used when a method or…
Read More » -
Core Java

Spring ParameterizedTypeReference Example
Deserializing generic types in Java can be challenging because of type erasure, which removes generic type information at runtime. This…
Read More » -
Java

Polymorphism in Java Generics
Since the early days as Java programmer we all know how to instantiate and use Collection objects. A List interface…
Read More » -
Core Java

Overload API methods with care
Overloading methods is a strong concept in API design, especially when your API is a fluent API or DSL (Domain…
Read More » -
Core Java

Java Generics Quick Tutorial
Generics is a Java feature that was introduced with Java SE 5.0 and, few years after its release, I swear…
Read More »


