I\'ve got a class Foo. How can I say that I want T to be some class implementing BarInterface? Writing simply class Foo<
Foo
T
BarInterface
class Foo<
Use extends instead of implements.
extends
implements