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

what is the use of ..

 
podonga poron
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what is the use of <>

example:

List<Integer> list = new ArrayList<Integer>();


thanks
 
Balasubramanian Chandrasekaran
Ranch Hand
Posts: 215
Firefox Browser Linux VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by podonga poron:
what is the use of <>

example:

List<Integer> list = new ArrayList<Integer>();


thanks


That one is called Generics in java.

You can take a look at this URL.

For a tutorial about Generics use this PDF File.

UseAMeaningfulSubjectLine from your next post onwards
[ June 13, 2008: Message edited by: Balasubramanian Chandrasekaran ]
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic