Tag Archives: generics

Java: Generic Types

Before Java 5, it was not possible to tell to a collection (like a List, a Map or a Set) only to accept objects of a specific type. At that moment, collections could hold anything that was not a primitive type (which are … Continue reading

Posted in Java | Tagged , | Leave a comment