List<>是什么?在Java泛型意味着什么? [英] What does List<?> mean in java generics?
本文介绍了List<>是什么?在Java泛型意味着什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
List <?>>
是什么意思,它是否只是一个未指定类型的对象列表?
<搜索字符串
<?>
返回任何有用的信息( ) 解决方案
您需要获取更多信息的关键字是通配符
What does List<?>
mean, does it mean simply a list of objects of unspecified type?
Googling for the string <?>
returns nothing useful (:
解决方案
The keyword you need to get more information is Wildcards
这篇关于List<>是什么?在Java泛型意味着什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文