Java Interface With Generics Pharmacy