This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Interface Collection(E)...what is E here? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Interface Collection(E)...what is E here?" Watch "Interface Collection(E)...what is E here?" New topic
Author

Interface Collection(E)...what is E here?

Sam Mites
Greenhorn

Joined: Nov 27, 2005
Posts: 15
Hi,
I was going through java api documentation, and I saw the
Interface Collection<E>, Interface Iterable<T> etc. what do <E> and <T> represents here ? and what is the context of their usage?

Thanks in advance.
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

Have a look at an introduction on Generics :
http://java.sun.com/developer/technicalArticles/J2SE/generics/


[My Blog]
All roads lead to JavaRanch
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Interface Collection(E)...what is E here?
 
Similar Threads
Regarding Collections
Questions on Collection Interface.
generics and array?
Generic Method in K&B Question 14
again doubt in generic