Tag Archives: generics

Java: Generic Types

Code samples in this post were compiled with a JDK 6. Before Java 5, it was not possible to instruct to a collection (like a List, a Map or a Set) to accept only objects of a specific type. At … Continue reading

Posted in Uncategorized | Tagged , | Leave a comment