Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

generics

 
meeta gaur
Ranch Hand
Posts: 305
Notepad Tomcat Server Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I couldn't figure out difference between type parameter and parametrized type.
thanks


 
Campbell Ritchie
Sheriff
Pie
Posts: 49411
62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you tried the Java Tutorials? Try the second section about types.
 
J. Kevin Robbins
Bartender
Pie
Posts: 1793
20
Chrome Firefox Browser jQuery Linux MySQL Database Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The definitive document on generics can be found here. It's not an easy read, but well worth the effort.
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Pie
Posts: 15366
40
Android IntelliJ IDE Java Scala Spring
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
bit developer
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Visit this link to know more about typed collections.
http://www.questionscompiled.com/answer.jsp?technology=java&qid=63
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic