Type Parameter

Wrapper Types should be used as specific type.

Generic Method

Using a generic method require no special syntax, the compiler will deduce the type automatically.

Type Upper Bounds

The extends here is just used as the fact of K is subclass of Comparable, not defining K and require K to implements all the methods Comparable has.
Also, it will not change how K functions.

Summary