Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

What do things like <T> mean?

 
simon fletcher
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could anyone point me to an explanation of what the <> symbols mean (i.e. Class<T> or Enum<E extends Enum<E>>). Are they to do with vectors, or something else?

Thanks.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64623
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Something else. Look up Java Generics.
 
Ankit Chaudhary
Greenhorn
Posts: 3
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,

This will help
http://java.sun.com/j2se/1.5/pdf/generics-tutorial.pdf
http://stackoverflow.com/questions/6607550/what-does-angle-brackets-mean-in-java


Thanks and Best Regards,
Ankit
--------------------------------------------------------------------------------
AnkitChaudhary | ankchaudhary@infocepts.com | www.infocepts.com
--------------------------------------------------------------------------------
 
simon fletcher
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you. Very helpful.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic