aspose file tools*
The moose likes Beginning Java and the fly likes What do things like <T> mean? 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 "What do things like <T> mean? " Watch "What do things like <T> mean? " New topic
Author

What do things like <T> mean?

simon fletcher
Ranch Hand

Joined: Aug 04, 2012
Posts: 50
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

Joined: Jan 10, 2002
Posts: 61433
    
  67

Something else. Look up Java Generics.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Ankit Chaudhary
Greenhorn

Joined: Sep 16, 2011
Posts: 3
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

Joined: Aug 04, 2012
Posts: 50
Thank you. Very helpful.
 
Don't get me started about those stupid light bulbs.
 
subject: What do things like <T> mean?