I’m looking for some code and API’s that would show use use of generic in larger scheme of things.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The question is a bit vague. Generics doesn’t add anything to design patterns. They just adds compile time type safety to your code.
Probably your question needs to be reformulated as “What are useful API’s for/with generics?”. In that case, the Java Collections API and Java Concurrent API have nice examples.