aspose file tools*
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


Win a copy of Spring in Action this week in the Spring forum!
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: 39436
    
  28
Have you tried the Java Tutorials? Try the second section about types.
J. Kevin Robbins
Bartender

Joined: Dec 16, 2010
Posts: 1003
    
  13

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: 14272
    
  21

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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: generics