阅读背景:

什么样的类型我定义了一个确定类的参数并实现了确定的接口?

来源:互联网 

What type define an argument to make sure this is of determinate class and implements determinate interface? I'm using <T extends MyBaseClass & MyInterface> for argument type in method definition but my argument not extends MyBaseClass, IS of MyBaseClass type. I want to make sure that the argument that I recive are of MyBaseClass type and implements MyInterfaceWhat type define an argument to make sure this




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: