File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Sam Mites
Greenhorn
Posts: 15
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have a look at an introduction on Generics :
http://java.sun.com/developer/technicalArticles/J2SE/generics/
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic