aspose file tools*
The moose likes Beginning Java and the fly likes name this this class notation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "name this this class notation" Watch "name this this class notation" New topic
Author

name this this class notation

Jano Frank
Greenhorn

Joined: Apr 27, 2011
Posts: 12
What is the name of this class notation bellow?




Thank you!
Steve Luke
Bartender

Joined: Jan 28, 2003
Posts: 4181
    
  21

Jano Frank wrote:What is the name of this class notation bellow?




Thank you!


That is 'Generics'. You can learn more about them here: http://docs.oracle.com/javase/tutorial/java/generics/index.html


Steve
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 40034
    
  28
Jano Frank wrote:What is the name of this class notation bellow?




Thank you!
That looks like a label. But it might not compile in its present state.
Jano Frank
Greenhorn

Joined: Apr 27, 2011
Posts: 12
No, sorry, it was just an example, not a code that would compile, I wanted to show how they instantiate an object from the class and added 'usage' note into the "code".
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 40034
    
  28
Not like that. You can add it as part of a documentation comment, or in an if-else.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: name this this class notation