| 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
|
|
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
|
|
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
|
|
|
Not like that. You can add it as part of a documentation comment, or in an if-else.
|
 |
 |
|
|
subject: name this this class notation
|
|
|