设置了jdk1.5以上泛型还报错
Syntax error, parameterized types are only available if source level is 1.5 or greater
[解决办法]
Eclipse->Windows->Preferences->Java->Installed JREs
[解决办法]
右键你的工程--》 Properties-->java compiler jdk compliance