会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
阿瓦隆
管理
2017年5月28日
泛型里的super和extend
摘要: <? extends T>和<? super T>应该怎么用? If your parameter is a producer, it should be <? extends T>, if it's a consumer it has to be <? super T> 即,做生产者的方法的参数用
阅读全文
posted @ 2017-05-28 23:31 Zeffer
阅读(752)
评论(0)
推荐(0)
编辑