Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is Type<Type> called?

Tags:

java

generics

What is

Type<Type> type;

called (opposed to)

Type type;

You know, where you put the angle brackets around the type? I use this a lot, but don't know the name - it's bugging me. It's very hard to search for - Google ignores the <> characters.

(note: this is Java)

like image 588
Isaac Waller Avatar asked Nov 28 '22 05:11

Isaac Waller


1 Answers

Generics! :)

like image 196
Noon Silk Avatar answered Dec 27 '22 02:12

Noon Silk