Generics demo