Comment Comment by philippelh It's the price to pay for implementing generics via type erasure, not for getting functional features in a statically typed language. http://stackoverflow.com/a/24421331 parent philippelh 11 years ago