List is a raw type. References to generic type List<E> should be parameterized
来源:互联网 发布:和日本人谈恋爱 知乎 编辑:程序博客网 时间:2024/06/05 18:11
利用Myeclipse开发时遇到的问题5
Class is a raw type. References to generic type Class<T> should be parameterized
HashMap is a raw type. References to generic type HashMap<K,V> should be parameterized
HashSet is a raw type. References to generic type HashSet<E> should be parameterized
Iterator is a raw type. References to generic type Iterator<E> should be parameterized
List is a raw type. References to generic type List<E> should be parameterized
Map is a raw type. References to generic type Map<K,V> should be parameterized
Referenced bean 'daoProxyFactory' not found
Set is a raw type. References to generic type Set<E> should be parameterized
这些错误是什么意思,应该怎样解决啊
问题补充:有什么可以参考的资料么,我是刚接触这个的,是参照视频学习的,还有很多不明白之处,留个QQ吧,谢了!2010年4月19日 20:15tieqichao
25
0 0 0- 添加评论
- 关注(0)
3个答案按时间排序按投票排序
- 00
关于泛型,其实就是个 写法上的变化。没有太多的内容。
关于学习资料,纸制的可以看看IBM上的教程,或者Core Java等
泛型的学习视频有 浪曦的JDK5.0新特性 等,几乎各大免费视频中都有。自己搜索下!!2010年4月20日 07:48xiaolongfeixiang
3000
0 0 2- 添加评论
- 00
这不是错误,只是警告。呵呵,不用担心。
在JDK1.5引入了泛型,泛型使得编译器能在编译时,获得更多的信息,以防止类型转换出错。
建议你稍微了解下泛型,可以的话,改一下代码。(不难的!)2010年4月19日 20:29xiaolongfeixiang
3000
0 0 2- 添加评论
- 00
你应该是使用 泛型。
0 0
- List is a raw type. References to generic type List<E> should be parameterized
- “References to generic type List should be parameterized”
- eclipse中如何去除警告:Class is a raw type. References to generic type Class<T> should be parameterized
- AdapterView is a raw type. References to generic type AdapterView ...
- The type List is not generic; it cannot be parameterized with arguments
- The type List is not generic; it cannot be parameterized with arguments
- The type List is not generic; it cannot be parameterized with arguments
- The type List is not generic; it cannot be parameterized with arguments <Integer>
- the type List is not generic; it cannot be parameterized with arguments<T>解决办法
- 解决错误The type List is not generic; it cannot be parameterized with arguments <Map>
- The type List is not generic; it cannot be parameterized with arguments<T>
- The type List is not generic; it cannot be parameterized with arguments***
- java Generic Type/Parameterized Type/Raw Type
- The type List is not generic
- List错误;The type List is not generic
- The type JComboBox is not generic; it cannot be parameterized with arguments <String>错误
- "List cannot be resolved to a type"错误的解决方法
- 关于java List的一个问题解决 - the type list is not generic
- range,hash,list分区
- php【基础学习七】string操作
- Android中string资源文件使用技巧
- css 文字长时不换行 显示...
- 周记——20151221
- List is a raw type. References to generic type List<E> should be parameterized
- 我希望的Golang的feature
- 总结学习VS2010的dll的创建与调用
- .h、.DLL和.lib关系
- C++ 显式转换
- mybatis基础教程
- Windows下Eclipse和Jcuda 环境搭建使用
- 使用show profile分析单条查询
- 最简单的log4j配置文件