Update Generics.java

A simple generic class with two type parameters:T and V.