This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes generics Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Beginning Java
Bookmark "generics" Watch "generics" New topic
Author

generics

meeta gaur
Ranch Hand

Joined: Dec 05, 2012
Posts: 305

Hi,
I couldn't figure out difference between type parameter and parametrized type.
thanks



My one regret in life is that I am not someone else.
- Woody Allen
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 43978
    
  33
Have you tried the Java Tutorials? Try the second section about types.
J. Kevin Robbins
Bartender

Joined: Dec 16, 2010
Posts: 1425
    
  14

The definitive document on generics can be found here. It's not an easy read, but well worth the effort.


"The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." -- Ted Nelson
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14952
    
  26

A parameterized type is a type that has a type parameter.

Look, for example, at List<T> - List is the parameterized type, and T is its type parameter.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
bit developer
Greenhorn

Joined: Feb 03, 2013
Posts: 2
Visit this link to know more about typed collections.
http://www.questionscompiled.com/answer.jsp?technology=java&qid=63
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: generics
 
It's not a secret anymore!