This is a definition of a generic class with a generic parameter T with the restriction that T must be a class (reference type).
This essentially means that when creating an instance of Node, you can do
new Node<String>(someStringVar)
but you cannot do
new Node<int>(someIntVar)
source
share