kotlin里面的out,in的简单理解

out 相当于java里面的 <? extend>

in 相当于java里面的 <? super>

 

posted @ 2019-05-12 20:16  yongfengnice  阅读(2721)  评论(0)    收藏  举报