my dog learned polymorphism
The moose likes Beginning Java and the fly likes name this this class notation Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply 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: 7
What is the name of this class notation bellow?




Thank you!
Steve Luke
Bartender

Joined: Jan 28, 2003
Posts: 3036
    
    4

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: 32694
    
    4
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: 7
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: 32694
    
    4
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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: name this this class notation
 
Similar Threads
Generic Array Creation Error Message
Input in a Nested table
Doubt in Generics
different question relating to the recursion
Object access within another Object