泛型通配符<? extends T>来接收返回的数据,此写法的泛型集合不能使用 add 方 法, 而<? super T>不能使用 get 方法,作为接口调用赋值时易出错的理解

NoSuchKey

猜你喜欢

转载自blog.csdn.net/weixin_43636205/article/details/131579083