public class MyGeneric { private T val; public MyGeneric(T v) { this.val = v; } }