I try to use the following code:
ArrayList Map
Eclipse complains about both of them: Syntax Error, para
Right click your project and choose properties in the properties dialog check the Java Compiler settings, maybe you have different workspace settings.